You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Artur Siekielski (JIRA)" <ji...@apache.org> on 2016/10/31 19:52:58 UTC

[jira] [Resolved] (CASSANDRA-12862) LWT leaves corrupted state

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

Artur Siekielski resolved CASSANDRA-12862.
------------------------------------------
    Resolution: Invalid

> LWT leaves corrupted state
> --------------------------
>
>                 Key: CASSANDRA-12862
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12862
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Cassandra 2.1.16, 3-node cluster with RF=3, NetworkTopology with 1 DC
>            Reporter: Artur Siekielski
>
> When executing "INSERT ... IF NOT EXISTS" (with consistency LOCAL_QUORUM) while the concurrency level is high (about 50 simultaneous threads doing inserts, for the same partition key but different clustering keys) sometimes the INSERT returns applied=False, but the subsequent SELECTs return no data. The corrupted state is permanent - neither the INSERT or SELECTs succeed, making the PK "locked".
> I can easily reproduce this - for 100 simultaneous threads doing a single insert I get 1-2 corruptions.



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