v2.11.1
Emit replication status events after initial full sync

When gerrit.replicateOnStartup configuration option is set to 'true',
replication plugin will schedule delayed jobs to synchronize all
repositories with replicas. But it will not emit any event about
operation status, this can lead to a situation where there is no
information about repositories not being synchronized.

Imagine a situation when some inactive repositories are synchronized to
dedicated replica server. Then when such replica server will go down we
won't notice since all failed replication events will not be published.

This patch ensures that replication status events are sent out on
initial synchronization.

Change-Id: I57ce984b9fde44927bb649f0672e9278065a8847
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
3 files changed
tree: 1f2227352b35c3acde92082f932a3964425104c1
  1. .settings/
  2. src/
  3. .gitignore
  4. BUCK
  5. LICENSE