-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allocator: ensure we read-through all Etcd revisions before continuing
It was previously possible for some Etcd transactions to be applied by Checkpoint within a converge() call, and for a failure to then cause converge() to bubble up an error, which could result in not reading through the preceeding successful transactions before continuing. Refactor checkpointTxn to retain the last successful transaction revision, and ensure we read through this revision regardless of whether the converge fully completed or failed along the way.
- Loading branch information
1 parent
7a8e3aa
commit da22df6
Showing
4 changed files
with
49 additions
and
43 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
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