Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Operability
-
Normal
-
All
-
None
-
- Added checksum validation unit tests
- Verified logs of streaming tests manually and confirmed checksum validation is being called
Description
The SAI code currently does not checksum validate per-column index data files at any point. It does checksum validate per-sstable components after a full rebuild and it checksum validates the per-column metadata on opening.
We should checksum validate all index components on startup, full rebuild and streaming.
EDIT: The changes we ultimately made here were:
- Fix checksum calculation in IncrementalChecksumSequentialWriter
- Checksum per-SSTable and per-column components after streaming
- Avoid validating indexes when full rebuild is requested
Attachments
Issue Links
- relates to
-
CASSANDRA-18653 Avoid unnecessary index builds and validations
- Resolved