You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ZhaoYang (JIRA)" <ji...@apache.org> on 2016/08/05 07:56:20 UTC

[jira] [Updated] (CASSANDRA-12387) List Append order is wrong

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

ZhaoYang updated CASSANDRA-12387:
---------------------------------
    Description: 
"INSERT INTO collection_type(key,normal_column,list_column) VALUES ('k','value',[ '#293847','#323442' ]);"

"UPDATE collection_type SET list_column=list_column+'#611987' WHERE key='k`;"

Using 2.1.7.1 java driver to run Update query, the output is: '#611987', '#293847','#323442'

Using DevCenter 1.3.1 to execute Update query, result is in correct order: '#293847','#323442', '#611987'

The error happened in 3 node cluster. In local, one node is working properly.
(all Cassandra 2.1.13. )

Is it related to internal message processing?

  was:
"INSERT INTO collection_type(key,normal_column,list_column) VALUES ('k','value',[ '#293847','#323442' ]);"

"UPDATE collection_type SET list_column=list_column+'#611987' WHERE key='k`;"

Using 2.1.7.1 java driver to run Update query, the output is: '#611987', '#293847','#323442'

Using DevCenter 1.3.1 to execute Update query, result is in correct order: '#293847','#323442', '#611987'

The error happened in 3 node cluster. In local, one node is working properly.
(all Cassandra 2.1.13. It also happened to 3.0.x driver)

Is it related to internal message processing?


> List Append order is wrong
> --------------------------
>
>                 Key: CASSANDRA-12387
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12387
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: cassandra 2.1.13
>            Reporter: ZhaoYang
>             Fix For: 2.1.16
>
>
> "INSERT INTO collection_type(key,normal_column,list_column) VALUES ('k','value',[ '#293847','#323442' ]);"
> "UPDATE collection_type SET list_column=list_column+'#611987' WHERE key='k`;"
> Using 2.1.7.1 java driver to run Update query, the output is: '#611987', '#293847','#323442'
> Using DevCenter 1.3.1 to execute Update query, result is in correct order: '#293847','#323442', '#611987'
> The error happened in 3 node cluster. In local, one node is working properly.
> (all Cassandra 2.1.13. )
> Is it related to internal message processing?



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