You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dmitry Konstantinov (Jira)" <ji...@apache.org> on 2025/08/05 14:44:00 UTC

[jira] [Updated] (CASSANDRA-20494) Use lexicographic order to store component list in SSTable TOC.txt

     [ https://issues.apache.org/jira/browse/CASSANDRA-20494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Konstantinov updated CASSANDRA-20494:
--------------------------------------------
    Reviewers: Dmitry Konstantinov, Stefan Miklosovic  (was: Stefan Miklosovic)

> 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.x, 5.x
>
>          Time Spent: 1h 50m
>  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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org