forked from apple/foundationdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove duplicate getRange() for DB handles and update existing GetRange to accept DB handles. * Initial progress checkpoint on new ConsistencyScan role. * Updated TODOs, finished most if not all state updates. * placeholder * Add more TODOs, documentation and comment improvements. * Checkpoint round state to avoid advancing progress if commit fails. * Bug fix, check is supposed to be for overlap, not lack of overlap. * Added more TODO's and added faked read results / exceptions and faked DB size retrieval to prove the consistencyScanCore logic works. * Update JSON schemas and command help. * Add comment about lifetime stats reset. * More TODO comments and some renames for clarity, some bug fixes. * properly stopping consistency scan in simulation so that it doesn't run forever and cause quiet database to fail * removing trailing comma from consistency_scan json schema * Making CC inconsistency not an error if it's intentional tss corruption * consistency scan actually reads storage locations * added check that consistency scan actually completes a round in simulation, fixed bug and added debugging around consistency scan getting stuck * made consistency scan properly fetch database size * refactoring data check to be used in both consistency scan and consistency check * checking that consistency scan always completes at least one round and doesn't get stuck * cleanup * fixing ide build * consistencyscan fdbcli command wasn't actually changing db state * consistencyscan fdbcli command always said enabled even when it wasn't --------- Co-authored-by: Steve Atherton <steve.atherton@snowflake.com>
- Loading branch information
1 parent
8194997
commit 2916a11
Showing
13 changed files
with
1,400 additions
and
675 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
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.