Skip to content

Multiple concurrent repo-changes by redmine result in rollback of oldest concurrent changes #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Snicksie opened this issue Feb 27, 2018 · 1 comment

Comments

@Snicksie
Copy link

I run redmine_git_hosting in a redmine instance with a >50 amount of active accounts that can create new repositories and/or change access rights to repositories. Changing access rights is an operation that takes a fairly long amount of time (~1-2minutes?). If two people are logged in at the same time, and one person first changes access rights, and within the time period of this 1-2 minutes another person creates a new repository (or also changes access rights), the changes made by the first person are undone in gitolite.conf (in gitolite-admin.git/conf/gitolite.conf). Lets assume before the two changes, the file has version a. Person 1 changes access rights to repository x and changes the file to version b. Person 2 adds a repository y, in the 1-2 minute time window. Redmine uses version a (not version b!) of the file to add this repository. This means the access rights for repository x will be back to those as in version a.

@PowerKiKi
Copy link
Collaborator

As discussed in #732 (comment), issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker.

If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants