My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 709: Replication status stream
19 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 24


Sign in to add a comment
 
Reported by nas...@chromium.org, Sep 3, 2010
It'd be nice to have a stream of replication events available for consumption by users and tools.
Sep 3, 2010
#1 sop@google.com
Can you give more details?

What data do you need in the stream?

Can this be an option to the current
stream-events command?
Status: AwaitingInformation
Sep 4, 2010
#2 panamen...@gmail.com
There are times when gerrit replication appears to be lagging. For example, one of my entries in replication.config has a replicationDelay = 5, but it will be hours before the change is replicated over to the remote. 

Additionally, I discovered that when a remote host goes away, gerrit will not start updating the remote once it is back online unless i force replication. 

The ability to monitor the stream of events for replication would be useful. 

An option to the current stream-events will do.
Sep 6, 2010
#3 sop@google.com
(No comment was entered for this change.)
Status: Accepted
Oct 4, 2010
#4 amarg...@gmail.com
Is there a better way to query a status whether or not a mirror is out of sync?
Here are some examples I have in mind:
>gerrit mirror --status [mirror site]
possible output(s): 
1. mirror is in sync
2. mirror is out of sync
   - missing xx branches, yy tags, zz commit objects, etc
   - provide further instructions what to do to fix the out of sync issue.
3. last sync sent on yymmdd:hh:mm:ss to host [mirror site]
4. Fatal Error! 
   - could not determine the mirror status, check destination host.
   - possible repo corruption at [mirror site]

Thanks,
amargono

Oct 4, 2010
#5 amarg...@gmail.com
I would like one more possible output in the mirror --status
5. Internal Error!
   - possible repo corruption at the master repo
   - provide further instructions what to check and possible fixes.
Oct 5, 2010
#6 Eric.Win...@gmail.com
I like the idea of having a command like gerrit remote (mirror) --status. Or possibly the --status can just be an option to the existing gerrit replicate command. Either way having the ability to verify the remote mirrors are in sync sync with the master Gerrit server would be very helpful.
Nov 5, 2010
#7 ni...@codeaurora.org
My initial request was for a gerrit replicate-events, similar to stream-events.
I am interested at watching the live streams of what each task is doing when it 
replicates a change over to the remote repository.

I like the gerrit mirror --status [remote], but i think only two conditions are necessary:
                - "remote last updated on ..." 
                 - "remote is down"
Apr 1, 2011
#8 kevin.gn...@gmail.com
This future is a badly need when managing multiple gerrit mirrors. 
Aug 24, 2015
Project Member #9 nas...@codeaurora.org
Stream events for replication events were added in https://gerrit.googlesource.com/plugins/replication/+/0a5f20aeabb7ec3fb62922a08bd6e3cd218247e5 but appear to be undocumented.
Status: Released
Sign in to add a comment

Powered by Google Project Hosting