cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8123) List appends when inserting in the same value
Date Wed, 15 Oct 2014 14:39:34 GMT


Aleksey Yeschenko commented on CASSANDRA-8123:

It's supposed to cover the previous values with a range tombstone, so you wouldn't append.
However, if you execute them truly concurrently, there isn't much we can do, since for the
two concurrent inserts they'll write the same range tombstone with the same timestamp, that
won't overwrite each other.

How concurrent are we talking here?

> List appends when inserting in the same value
> ---------------------------------------------
>                 Key: CASSANDRA-8123
>                 URL:
>             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

View raw message