forked from man-group/arctic
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forward pointers implementation (man-group#651)
* initial commit for fw pointers implementation * Finalized implementation of forward pointers * incorporated PR comments for fw pointers implementation * fw pointers: chunks_ids to chunk_ids * fix for forward pointers implementation to be robust over mongo_retry with only subset of segments written * minor fix for initialization of ARCTIC_FORWARD_POINTERS * added implementation of cleanup/pruning supporting forward pointers and being also backwards compatible * updated FW pointers implementation to allow any transition from/to ENABLED/DISABLED/HYBRID per write/append/read * added comments explaining forward pointers variables and methods * added check for number of gathered segments when updating fw pointers, and raise operation errors upon failure * forward pointers implementation with SHAs instead of IDs * completed fully functional implementation of SHA based forward pointers * pruning compatible with forward pointers enabled/disabled/hybrid * don't strip() twice in version str * remove unnecessary import * set back the pruning timeout to 120 * set back the pruning timeout to 120 * added numerical value of the arctic version used to crate a version, in the version metadata * fixed index check integration test * fixed multiple bugs with concat_and_write, corrected the pruning and fixed multiple tests after enabling for all VersionStore tests to run in all three modes for forward pointers * fixed all integration tests for versionstore and fixed bug with pruning with FW pointers too early, as the version is not inserted yet when pruning happens * fixed the last two broken integration tests * fix the cleanup logic for forward pointers to retain the chunks created in the past than 24h. Added fw pointers in multiple other tests to verify functionality * moved back in original order the publsh_changes and prune calls * fixed python 3 compatiblility issue with pruning * updated changelog * fixed Binary(b'aaa') != b'aaa' in Python 3 * fixed last remaining failed tests for python 3 related to bson.binary.Binray comparison with binary
- Loading branch information
Showing
15 changed files
with
2,367 additions
and
1,613 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.