Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Following on from CASSANDRA-8744, CASSANDRA-8749 and CASSANDRA-8747, this patch attempts to make the whole opening early of compaction results more robust and with more clearly understood behaviour. The improvements of CASSANDRA-8747 permit is to easily align the last key with a summary boundary, and an index and data file end position. This patch modifies SegmentedFile to permit the provision of an explicit length, which is then provided to any readers, which enforce it, ensuring no code may accidentally see an end inconsistent with the one advertised.
Attachments
Attachments
Issue Links
- depends upon
-
CASSANDRA-8747 Make SSTableWriter.openEarly behaviour more robust
-
- Resolved
-
-
CASSANDRA-8749 Cleanup SegmentedFile
-
- Resolved
-
- is broken by
-
CASSANDRA-6916 Preemptive opening of compaction result
-
- Resolved
-
- is related to
-
CASSANDRA-6916 Preemptive opening of compaction result
-
- Resolved
-
- relates to
-
CASSANDRA-8744 Ensure SSTableReader.first/last are honoured universally
-
- Resolved
-