-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensuring we don't lose the first few position updates.
We had two problems here. a) the ingester loads in an asynchronous fashion, as it needs to replay the WAL entirely. Subscribing to shard positions events is part of this initialization. We could be missing all of the event received before the initialization (via chitchat). b) we start the cluster first. Long after we in the initialization process, we start the ShardPositionsService. We could possibly be missing the keys that were shared in between. Closes #4622
- Loading branch information
1 parent
6337ac0
commit 7a72a6a
Showing
3 changed files
with
152 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters