[
https://issues.apache.org/jira/browse/CASSANDRA-20494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-20494:
------------------------------------------
Fix Version/s: 5.0.6
5.1
(was: 5.x)
(was: 5.0.x)
Source Control Link:
https://github.com/apache/cassandra/commit/3b9669b1163a663759860cf4360c00bfff9496f5
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Use lexicographic order to store component list in SSTable TOC.txt
> ------------------------------------------------------------------
>
> Key: CASSANDRA-20494
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20494
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Local/SSTable
> Reporter: Dmitry Konstantinov
> Assignee: Romain Hardouin
> Priority: Low
> Fix For: 5.0.6, 5.1
>
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> Currently we keep components as a Set in memory and iterate over them without
> a fixed order to write to TOC.txt, so TOC.txt can be different for different
> SSTables, it is a bit annoying to see in tickets like CASSANDRA-20485. To
> make the logic more deterministic we can sort the list in lexicographic order
> in the store logic
> (org.apache.cassandra.io.sstable.format.TOCComponent#appendTOC)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]