cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Bay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8123) List appends when inserting in the same value
Date Wed, 15 Oct 2014 12:46:34 GMT

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

Jorge Bay commented on CASSANDRA-8123:
--------------------------------------

I understand that if I'm going for unique values, I should use a set but I think the behavior
is unexpected.

> List appends when inserting in the same value
> ---------------------------------------------
>
>                 Key: CASSANDRA-8123
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8123
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: C* 2.1.0 and C* 2.0.10
>            Reporter: Jorge Bay
>            Priority: Minor
>
> List append when inserting in the same value
> I'm getting list appends when executing multiple times concurrently an INSERT (or update)
of a list column value on the same partition:
> "INSERT INTO cf1 VALUES (id, list_sample) VALUES (id1, ['one', 'two']);"
> It could result into a list with the values appended: ['one', 'two', 'one', 'two', ...]



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

Mime
View raw message