v2.16.5
Fix auto-replay of stored events during config reload

Use a proper configuration reload listener to allow ReplicationQueue
to be aware of what's going on and perform a proper stop/start sequence
instead of relying on a low-level WorkQueue access.

The configuration reload behaves now as a soft-restart so that
stored events parked on the filesystem won't be missed any more.

If the new configuration is invalid and fails to load, keep the
current one without retrying until it gets modified again. That avoids
the start/stop of the ReplicationQueue continuously.

Bug: Issue 10260
Change-Id: Ia34b460221a2e0512a4ffba66d1f08c201402917
2 files changed
tree: d12cb5a5cfef8753c6fc32b98a678483ee3bdde0
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE