cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Siekielski (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-12862) LWT leaves corrupted state
Date Sun, 30 Oct 2016 17:07:58 GMT
Artur Siekielski created CASSANDRA-12862:

             Summary: LWT leaves corrupted state
                 Key: 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

This message was sent by Atlassian JIRA

View raw message