[
https://issues.apache.org/jira/browse/CASSANDRA-11225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219311#comment-15219311
]
Stefania commented on CASSANDRA-11225:
--------------------------------------
Two more tests failed, both where when reading at CL=ONE. In fact, I checked
all failures so far, they all happen when reading at CL ONE. The two tests that
failed:
* The counter was incremented from 0 to 1 by contacting the first replica with
CL=TWO and the following values were returned when reading at CL=1 from all
replicas: \[0,0,1\], the test fails because it was expecting at least two
replicas to have value 1.
* The counter was incremented from 1 to 2 by contacting the second replica with
CL=TWO and the following values were returned when reading at CL=1 from all
replicas: \[1,1,2\], the test fails because it was expecting at least two
replicas to have value 2.
I don't think the counter update failed because we should have had an exception
in that case. I checked the test code and I cannot find anything obviously
wrong, we are definitely contacting replicas individually via exclusive
connections and we have a 3 node cluster with RF=3 so all nodes should be
replicas.
I cannot rule out an issue with reading local counter values at this stage. We
could try changing parameters such the counter cache or removing the
parallelism on partition keys to try and gather more clues. If we could
reproduce this problem with a new test that increments counters and reads them
back from the same replica multiple times and in parallel on different
partition keys this might help in determining if the bug is really in C* or in
the test.
> dtest failure in consistency_test.TestAccuracy.test_simple_strategy_counters
> ----------------------------------------------------------------------------
>
> Key: CASSANDRA-11225
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11225
> Project: Cassandra
> Issue Type: Test
> Reporter: Russ Hatch
> Assignee: Russ Hatch
> Labels: dtest
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.1_novnode_dtest/209/testReport/consistency_test/TestAccuracy/test_simple_strategy_counters
> Failed on CassCI build cassandra-2.1_novnode_dtest #209
> error: "AssertionError: Failed to read value from sufficient number of nodes,
> required 2 but got 1 - [574, 2]"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)