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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 2.1.0
    • None
    • Linux 3.12.21, JVM 1.7u60
      Cassandra server 2.1.0 RC 5
      Cassandra datastax client version 2.1.0RC1

    • Critical

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

        Activity

          People

            norman Norman Maurer
            phb Johan Bjork
            Norman Maurer
            T Jake Luciani
            Ryan McGuire Ryan McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: