-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For Cassandra storage minimise the number of tombstones (NULL entries…
…) in the repair_run table. Remove RepairSegment.repairCommandId as no one was using/storing it. Make explicit which fields in RepairSegment can be null and be nulled. Hide the RepairSegment.Builder constructor. Re-read segments once leader-election is done, ensuring we're not writing back stale data Add Preconditions and asserts in ensuring lifecycle state is correct and null fields only exist as/when appropriate. Preconditions are used when fast and providing fail-fast design. Asserts are used where expensive and/or are secondary checks. ref: - #240 - #244
- Loading branch information
1 parent
22afbdb
commit e717ad8
Showing
9 changed files
with
186 additions
and
107 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
Oops, something went wrong.