Dmitry Konstantinov created CASSANDRA-20494:
-----------------------------------------------

             Summary: 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


Currently we store components as a Set without a fixed order, 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to