[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-13 Thread Norman Maurer (JIRA)

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

Norman Maurer updated CASSANDRA-7695:
-

Attachment: 0001-CASSANDRA-7695-Workaround-Netty-bug-by-not-use-Compo.patch

This diff will workaround the bug while still allow to use unsafe etc.

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: T Jake Luciani
Priority: Blocker
  Labels: qa-resolved
 Fix For: 2.1.0

 Attachments: 
 0001-CASSANDRA-7695-Workaround-Netty-bug-by-not-use-Compo.patch, 
 7695-workaround.txt, PutFailureRepro.java, bad-data-tid43-get, 
 bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-07 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis updated CASSANDRA-7695:
--

Reviewer: Benedict  (was: Aleksey Yeschenko)

[~benedict] to review

(nit: brace placement)

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: T Jake Luciani
Priority: Blocker
 Fix For: 2.1.0

 Attachments: 7695-workaround.txt, PutFailureRepro.java, 
 bad-data-tid43-get, bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-07 Thread Ryan McGuire (JIRA)

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

Ryan McGuire updated CASSANDRA-7695:


Tester: Ryan McGuire

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: T Jake Luciani
Priority: Blocker
 Fix For: 2.1.0

 Attachments: 7695-workaround.txt, PutFailureRepro.java, 
 bad-data-tid43-get, bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-07 Thread Ryan McGuire (JIRA)

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

Ryan McGuire updated CASSANDRA-7695:


Labels: qa-resolved  (was: )

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: T Jake Luciani
Priority: Blocker
  Labels: qa-resolved
 Fix For: 2.1.0

 Attachments: 7695-workaround.txt, PutFailureRepro.java, 
 bad-data-tid43-get, bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-06 Thread T Jake Luciani (JIRA)

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

T Jake Luciani updated CASSANDRA-7695:
--

Fix Version/s: 2.1.0

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: Aleksey Yeschenko
Priority: Critical
 Fix For: 2.1.0

 Attachments: PutFailureRepro.java, bad-data-tid43-get, 
 bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-06 Thread Aleksey Yeschenko (JIRA)

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

Aleksey Yeschenko updated CASSANDRA-7695:
-

Since Version: 2.1 rc1  (was: 2.1 rc4)

The bug is legit. Closing in on the cause right now.

FWIW, beta2 is unaffected, so it was introduced in rc1. Also, the issue only 
manifests when large values are being concurrently overwritten - ~100KB and 
larger.

Will update w/ new details shortly.

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: Aleksey Yeschenko
Priority: Critical
 Fix For: 2.1.0

 Attachments: PutFailureRepro.java, bad-data-tid43-get, 
 bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-06 Thread T Jake Luciani (JIRA)

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

T Jake Luciani updated CASSANDRA-7695:
--

Attachment: 7695-workaround.txt

Attaching a workaround and long unit test

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Assignee: T Jake Luciani
Priority: Blocker
 Fix For: 2.1.0

 Attachments: 7695-workaround.txt, PutFailureRepro.java, 
 bad-data-tid43-get, bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-05 Thread Johan Bjork (JIRA)

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

Johan Bjork updated CASSANDRA-7695:
---

Attachment: PutFailureRepro.java

updated test-case without package definition

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Priority: Critical
 Attachments: PutFailureRepro.java, PutFailureRepro.java, 
 bad-data-tid43-get, bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (CASSANDRA-7695) Inserting the same row in parallel causes bad data to be returned to the client

2014-08-05 Thread Johan Bjork (JIRA)

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

Johan Bjork updated CASSANDRA-7695:
---

Attachment: (was: PutFailureRepro.java)

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

 Key: CASSANDRA-7695
 URL: https://issues.apache.org/jira/browse/CASSANDRA-7695
 Project: Cassandra
  Issue Type: Bug
 Environment: Linux 3.12.21, JVM 1.7u60
 Cassandra server 2.1.0 RC 5
 Cassandra datastax client version 2.1.0RC1
Reporter: Johan Bjork
Priority: Critical
 Attachments: PutFailureRepro.java, bad-data-tid43-get, 
 bad-data-tid43-put


 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)