•  
     
    story #2967 have gitolite repository events serialized
Summary
site admin
have gitolite repository events serialized
there is no longer race conditions with multiple processes accessing repository at one time
All the events of gitolite are serialized:
- create repository
- delete repository
- change description
- change permissions
- fork

As a user when I create or fork a repository:

the repository immediatly appears in the repo lists. If I click on it, I can see a screen informing me about the state of the creation process (running/error).

As a user when I change permissions:

A message informs me that I should wait for a minute for my changes to be pushed to the repository.
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Several concurrent processes accessing the same gitolite admin repository in the same time seems to lead to race conditions and sometime migh crash gitolite authorized_keys.
Furthermore, as the number of git repositories grow, modifications made on gitolite admin repo takes time to push (compile time in gitolite to generate the permission schema).With this change, all gitolite admin operations (ssh keys modifications, creation of repository, deletion, update of description, update of permissions, update of mailing list details, move to gerrit, etc) are done one after another (serialized), in background (system event).
For end user, it means a UI with better reactivity but a little bit of delay to actually get the things propagated at git/gitolite level (usually a couple of minutes).
Details
#2967
Manuel Vacelet (vaceletm)
2013-07-09 16:57
2013-04-02 15:31
1721

References

Follow-ups

User avatar
  • Technical informations
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
Martin GOYOT (goyotm)2013-04-02 16:53
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes