Book a Demo

Author Topic: EA - VC desynchronisation / package loss  (Read 5726 times)

Van Lepthien

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
EA - VC desynchronisation / package loss
« on: May 05, 2010, 03:38:31 am »
We are running EA 7.5 v850, MySQL database, SVN version control. We probably have 10 people working in one model, though usually only 2 or 3 at a time.

There are a couple of peculiar things going on, and I suspect they may be related.

1. One engineer said that a package he had been working in had disappeared from the project browser. I looked in subversion and found the package, and it showd him as having it locked.
At this point I attempted to reload the current project, which had no effect. The XMI file in Subversion was for the package in its initial state, apparently added to VC right after the package was created. He claimed to have checked it in after making changes, but I could find no evidence of that in subversion.
I checked a (full model) baseline that was taken a couple of days before and found the offending package, complete with contents.

2.On what I suspect is a related note, I've found a number of XMI files in SVN that are locked, but either the correspoding packages appear to be checked in (per the browser icon) or cannot be found in the EA project. I have been asked in several instances to help with people not being able to check out packages that they themselves had created - the packages showed as being checked in, but SVN said that the package was checked out. "Resynchronise with VC provider" does nothing to fix the problem - have to go into SVN and clear the lock, after which things usually seem OK.

I suspect a contributing factor is losing connection with the database when EA is open - the people who have this problem seem to all be laptop users, and I, with a desktop, never see anything similar happen when I've been updating things (I also check packages in religiously).

Has anyone else run into similar problems? Are there any suggestion on how to fix them? I've tried telling people to "check in your packages and close EA before you close your laptop", but the problems keep on popping up.

Thanks,

Van
« Last Edit: May 05, 2010, 04:38:32 am by VLepthien »

robert.staflin

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: EA - VC desynchronisation / package loss
« Reply #1 on: January 20, 2011, 08:48:59 pm »
Have you had any answers to this? We have problems like this in 8.0.864 with SlikSVN (each user has a local repo) and a central server.

Suddenly packages appear empty for us, and no amount of checking out or get all latest helps. Yesterday a user reported many important things missing, which I could verify in my copy of EA.

What finally work was to do a "Check Out Branch" and then check everything in using "Check In Branch" again. Then, everything popped back to existence again!

Really scary and weird.

Van Lepthien

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: EA - VC desynchronisation / package loss
« Reply #2 on: January 21, 2011, 05:42:22 am »
I suspect the reason "Check out branch" may appear to work is that EA reverts the model content to the content of the SVN XMI file when you do a checkout, and thus the old content pops up. The "Check in branch" brings the database and subversion back into synch if any changes have been made.

This still doesn't explain how things get hosed up in the first place.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA - VC desynchronisation / package loss
« Reply #3 on: January 21, 2011, 06:30:36 pm »
I believe there are major improvements in the VC handling of EA in the next version (v9) which should come out shortly.
I think it is definitely worth it to retest your issues on v9 the minute it is released as a beta.
I'm sure Sparx will try to fix all bugs in that area during the beta period since this is one of their major improvements for v9.

Geert

Kelvin Sim

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: EA - VC desynchronisation / package loss
« Reply #4 on: August 09, 2011, 01:31:38 pm »
I know this has been an old thread, but I just want to add that I have the same problem with EA with SVN+MySQL.

It's still not resolved, and if anyone has a solution to it, please reply and let us know.

Tom Gibson

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: EA - VC desynchronisation / package loss
« Reply #5 on: September 02, 2011, 07:20:41 pm »
I am having similar issues, nobody seems to have found a fix for this problem yet? We are using EA9 with a Team Foundation Server managed database. The problem we have had is that some elements of our model got their Version Control Status out of synch with the server, and after doing a re-synch, the data seems to be missing. I will revert our source control database to fix the issue, but it would be good to try and understand the cause of these problems before data loss occurs.