[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-03-14 Thread Jacek Lewandowski (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700171#comment-17700171
 ] 

Jacek Lewandowski commented on CASSANDRA-18143:
---

4.0 unit tests retried and passed. All looking good, merging, thanks for the 
review

> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-03-14 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700164#comment-17700164
 ] 

Stefan Miklosovic commented on CASSANDRA-18143:
---

All good. 4.0 should be restarted though. On successful build there I am +1 and 
we can commit. Thanks.

> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-03-14 Thread Jacek Lewandowski (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17700045#comment-17700045
 ] 

Jacek Lewandowski commented on CASSANDRA-18143:
---

3.0  https://github.com/jacek-lewandowski/cassandra/tree/CASSANDRA-18143-3.0 
https://github.com/apache/cassandra/pull/2214
3.11 https://github.com/jacek-lewandowski/cassandra/tree/CASSANDRA-18143-3.11
4.0  https://github.com/jacek-lewandowski/cassandra/tree/CASSANDRA-18143-4.0
4.1  https://github.com/jacek-lewandowski/cassandra/tree/CASSANDRA-18143-4.1
5.0  https://github.com/jacek-lewandowski/cassandra/tree/CASSANDRA-18143

Tests:
3.0  
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/617/workflows/c4a9facb-4918-4b78-9019-cb98e55a983a
3.11 
4.0
4.1
5.0


> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-02-27 Thread Jacek Lewandowski (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17694013#comment-17694013
 ] 

Jacek Lewandowski commented on CASSANDRA-18143:
---

Let's conclude this ticket

> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-02-02 Thread Stefan Miklosovic (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17683430#comment-17683430
 ] 

Stefan Miklosovic commented on CASSANDRA-18143:
---

Great patch. [~jlewandowski] are you on top of this? Would be a bummer to let 
this one slip through.

> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-01-12 Thread Claude Warren (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676257#comment-17676257
 ] 

Claude Warren commented on CASSANDRA-18143:
---

Pull request is at https://github.com/apache/cassandra/pull/2081

> 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
>Priority: Normal
>
> 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



[jira] [Commented] (CASSANDRA-18143) upgradesstables does not always upgrade tables in proper order.

2023-01-12 Thread Jacek Lewandowski (Jira)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-18143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17676005#comment-17676005
 ] 

Jacek Lewandowski commented on CASSANDRA-18143:
---

[~claude] please attach a link to the pull request you've created

> 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
>Priority: Normal
>
> 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