Claude Warren created CASSANDRA-18143:
-----------------------------------------

             Summary: upgradesstables does not always upgrade tables in proper 
order.
                 Key: CASSANDRA-18143
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18143
             Project: Cassandra
          Issue Type: Bug
          Components: Tool/sstable
            Reporter: Claude Warren
            Assignee: Claude Warren


The SSTableUpgrader accepts tools in the hash order provided by 
Directories.SSTableLister rather than ordering them to ensure that they are 
upgraded in the proper order.

They should be ordered by their id. The comparator for SSTableId is available 
in SSTableIdFactory.COMPARATOR. 
 
Dev discussion thread: 
https://lists.apache.org/thread/w6pm5hbdxt295mtvlckv0joyk8x4o8nf



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