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

Sylvain Lebresne commented on CASSANDRA-10162:
----------------------------------------------

I think the best fix here is to make sure the {{decompose}} method for sets and 
maps always sort it's input if needs be. I've pushed a patch to do so 
[here|https://github.com/pcmanus/cassandra/commits/10162]. It fixes the test in 
question though I'm still waiting on CI results to make sure it doesn't break 
anything else.

> Test regression for  cqlsh_tests.TestCqlsh.test_describe
> --------------------------------------------------------
>
>                 Key: CASSANDRA-10162
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10162
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>             Fix For: 3.0 beta 2
>
>
> The regression is due to the commit db782362aaf25214a94c393b20cdbade829c5291 
> from CASSANDRA-6717, the one that switched to using frozen sets and maps in 
> schema tables.
> The problem is that after this patch, the maps and sets are not sorted 
> anymore, which confuse the test in question. Now, we document that maps and 
> sets are sorted, and that should be true for frozen ones too so it's a legit 
> bug imo, not a problem of the test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to