Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7695

Inserting the same row in parallel causes bad data to be returned to the client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
    • Environment:

      Linux 3.12.21, JVM 1.7u60
      Cassandra server 2.1.0 RC 5
      Cassandra datastax client version 2.1.0RC1

    • Severity:
      Critical
    • Since Version:

      Description

      Running the attached test program against a cassandra 2.1 server results in scrambled data returned by the SELECT statement. Running it against latest stable works fine.

      Attached:

      • Program that reproduces the failure
      • Example output files from mentioned test-program with the scrambled output.

      Failure mode:
      The value returned by 'get' is scrambled, the size is correct but some bytes have shifted locations in the returned buffer.

      Cluster info:
      For the test we set up a single cassandra node using the stock configuration file.

        Attachments

        1. 0001-CASSANDRA-7695-Workaround-Netty-bug-by-not-use-Compo.patch
          3 kB
          Norman Maurer
        2. 7695-workaround.txt
          8 kB
          T Jake Luciani
        3. PutFailureRepro.java
          6 kB
          Johan Bjork
        4. bad-data-tid43-put
          500 kB
          Johan Bjork
        5. bad-data-tid43-get
          500 kB
          Johan Bjork

          Activity

            People

            • Assignee:
              norman Norman Maurer
              Reporter:
              phb Johan Bjork
              Authors:
              Norman Maurer
              Reviewers:
              T Jake Luciani
              Tester:
              Ryan McGuire
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: