-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules/kvs: Support ability to revert merged commits
In commit_mgr_remove_commit() support flag for user to revert a merged commit if the option is available. By doing so, the user need not send an error to all fences merged into the current merged commit. The revert can play all the original commits back on the ready queue. They can instead be played back one by one, and the failing fences can be responded to individually. Support commit_revert_mergeable() so user knows if a commit is revertable. In core KVS file, take advantage of this by not sending an error when a commit's merging can be reverted. Add internal commit API unit tests. Fixes #1337
- Loading branch information
Showing
4 changed files
with
215 additions
and
21 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