[
https://issues.apache.org/jira/browse/CASSANDRA-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026203#comment-14026203
]
Robert Stupp commented on CASSANDRA-7371:
-----------------------------------------
Regarding the failed tests:
The CQL DELETE gets through - but it is never executed - not just delayed
(verified in cqlsh some seconds later)
I'll check that patch later this evening (CEST - 6/7 hours before EST).
What I did right now is this.
{noformat}
$ uname -a
Darwin macbook-retina.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17
23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
(System is a MacBook Pro/Retina - 16G RAM - Core i7)
$ cd (directory for cassandra source)
$ rm -rf (everything inside the directory)
$ git clone https://github.com/apache/cassandra.git .
$ git checkout -b cassandra-2.1 --track origin/cassandra-2.1
$ cat .git/config
...
[branch "cassandra-2.1"]
remote = origin
merge = refs/heads/cassandra-2.1
$ pwd
/Users/snazy/devel/cassandra/cassandra/
$ ant publish
$ java -version
java version "1.7.0_55"
$ l ~/.ccm/repository
lrwxr-xr-x 1 snazy staff 39 9 Jun 20:21 2.1.0-rc1-snapshot@ ->
/Users/snazy/devel/cassandra/cassandra/
$ ccm create -v 2.1.0-rc1-snapshot -n 1 -s --vnodes test
Current cluster is now: test
{noformat}
Run test... (with 1.7.0_55)
31/500 failed
{noformat}
$ ccm remove test
$ git reset -q --hard b29d882df82c1b0aa2c1878c0ba704ac814c69d3
$ rm -rf build
$ ant publish
$ ccm create -v 2.1.0-rc1-snapshot -n 1 -s --vnodes test
Current cluster is now: test
{noformat}
Run test... (with 1.7.0_55)
0/500 failed
> DELETEs get lost
> ----------------
>
> Key: CASSANDRA-7371
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7371
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: 2.1 git branch since merge commit
> 4722fe70aa9ae1b62772cfa1a1de58ef289445d5 ("RefCount native frames from netty
> to avoid corruption bugs")
> Reporter: Robert Stupp
> Assignee: T Jake Luciani
> Priority: Blocker
> Fix For: 2.1.0
>
> Attachments: Cassandra7371.java
>
>
> The mentioned commit introduced a bug which is not easy to reproduce:
> Workload description:
> - One INSERT into a table
> - multiple concurrent SELECTs against different tables (one select returns a
> result)
> - One UPDATE against the same table as the INSERT
> - (same) multiple concurrent SELECTs against different tables (one select
> returns a result)
> - One DELETE against the same table as the INSERT
> - (same) multiple concurrent SELECTs against different tables
> Expected is that the last bunch of SELECTs returns no result. But since
> commit SHA the DELETE gets not processed.
> To clarify - the DELETE is not delayed - it is not executed at all.
> Checked against a single node C* "cluster".
> Does only affect unreleased 2.1 - not 2.0 nor 1.2.
--
This message was sent by Atlassian JIRA
(v6.2#6252)