| Issue 2899: | Replication behaves weird | |
| 2 people starred this issue and may be notified of changes. | Back to list |
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version: 2.9
What steps will reproduce the problem?
1. Create two or more remotes in replication.config file and assign different authGroups to them
2. Assign one of those authGroups to have read permissions for refs/* in the All-Projects project
3. Create two or more projects(inherit rights from All-Projects) and grant read permissions for refs/* to the rest of the authGroups that you added in the replication.config file
4. Restart gerrit
What is the expected output? What do you see instead?
Expected output: All the projects are replicated to the remote that includes the authGroup which has been added to the All-Projects project. Every project is replicated to the remote that includes the same authGroup as been specified in the replication.config file.
What I see: All the projects are replicated to the remote that includes the authGroup which has been added to the All-Projects project. Projects that have not granted read for refs/* access to an authGroup, are being created(but not actually replicated) to remotes that do not include that specific authGroup.
Please provide any additional information below.
A sample of the replication.config file is as follows:
[remote "one"]
url = file:///gerrit_backup/${name}
authGroup = Administrators #read for refs/* access in All-Projects
[remote "two"]
url = two:${name}
authGroup = Replication_two #read for refs/* access in some projects
[remote "three"]
url = three:${name}
authGroup = Replication_three #read for refs/* access in different projects
And what I basically see is, all the projects being replicated to the remote 'one'.
But, projects that have not given any permissions to the Replication_two authGroup, being created(but not replicated) in the 'two' remote, and so on.
Thanks,
Yannis
Oct 3, 2014
Project Member
#1
dougk....@gmail.com
Oct 5, 2014
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 543 |
|
| ► Sign in to add a comment |