| Issue 709: | Replication status stream | |
| 19 people starred this issue and may be notified of changes. | Back to list |
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
Status:
AwaitingInformation
Sep 4, 2010
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
(No comment was entered for this change.)
Status:
Accepted
Oct 4, 2010
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
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
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
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
This future is a badly need when managing multiple gerrit mirrors.
Aug 24, 2015
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 |