-
Notifications
You must be signed in to change notification settings - Fork 51
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 fallback merged commits
In commit_mgr_remove_commit() support flag for user to fallback a merged commit to the original commits that made up the merge. By doing so, the user need not send an error to all fences merged into that merged commit. Instead, each of the original commits can be replayed individually, and an error will only be sent to the offending commit/fence. Support commit_fallback_mergeable() so user knows if a commit can be falled back on. In core KVS file, take advantage of this by not sending an error when a commit's merging can be falled back on. As an exception, do not fallback if it's a "death"-like error (e.g. ENOMEM). Add internal commit API unit tests. Fixes #1337
- Loading branch information
Showing
4 changed files
with
218 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