| Issue 2500: | gerrit 2.8.1 replication plugin - annotated tags are not replicated | |
| 8 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.8.1 What steps will reproduce the problem? 1. Install gerrit 2.8.1 with replication plugin 2. Replication config: push = +refs/heads/*:refs/heads/* push = +refs/tags/*:refs/tags/* 3. Push annotated tag (git tag -a -m "..." 1.0.0) 4. Pushed tag is not replicated until geirrit restart What is the expected output? What do you see instead? Expected: replicated tags in remote git repo. Instead: tags are not replicated until gerrit restart. Please provide any additional information below.
Feb 25, 2014
Project Member
#1
david.pu...@sonymobile.com
Apr 9, 2014
I tried the steps to reproduce the issue and the tag is replicated. Can you share the complete remote section of the replication config? I have a similar issue but I'm only getting issue you are describing when I use authGroup in combination with some exclusive access right. I will open a new issue for my problem if it's not the same as yours.
Status:
AwaitingInformation
Apr 15, 2014
etc/replication.config
[remote "pubmirror"]
url = ssh://gitmirror/xxxxxxxxxxxxxxxx/${name}.git
push = +refs/heads/1.0:refs/heads/1.0
push = +refs/heads/1.1:refs/heads/1.1
push = +refs/heads/1.2:refs/heads/1.2
push = +refs/heads/1.3:refs/heads/1.3
push = +refs/heads/1.4:refs/heads/1.4
push = +refs/tags/*:refs/tags/*
threads = 1
authGroup = Public Mirror Group
Not annotated tags also not replicated, until gerrit restart or manual replication start.
Jun 2, 2014
The same problem in another version: https://code.google.com/p/gerrit/issues/detail?id=1748
Jun 2, 2014
Reproduced in 2.8.5 * Gerrit is updated to 2.8.5. * replication config as described in prev. note * Add annotated tag: git tag -a -m "minor fixes" v1.1.1 * Wait 10 minutes ... tag is not replicated * run: ssh -p 29418 user@host replication start --all tag successfully replicated
Jun 30, 2014
We have the same issue in 2.8.5 if the authGroup is used.
Jul 8, 2014
We reproduced the problem by using the authGroup and exclusive access rights. It looks like the bug is caused by using an authGroup that does not see all the refs(exclusive access rights). We are working on a simple way of reproducing the problem, so far we were able to reproduce it in our staging environment but the project have really complex access rights configuration.
Aug 15, 2014
Example to of setup/access rights to reproduce the problem: -Replication using the authGroup(replication group in my example) -Configure an exclusive read access on the project to some group(other than the replication group) for some reference (ex refs/head/somePath/*) -push an annotated tag on this project, the tag will not be replicated (if the exclusive option is unchecked, tag is replicated)
Sep 3, 2014
(No comment was entered for this change.)
Status:
Submitted
Labels: FixedIn-2.9.1
Sep 11, 2014
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |