[
https://issues.apache.org/jira/browse/CASSANDRA-12225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415818#comment-15415818
]
Carl Yeksigian commented on CASSANDRA-12225:
--------------------------------------------
I was finally able to reproduce this locally.
Since it is so uncommon, I am hoping this is down to a timing issue between the
base and the view updates. We return from the base mutation being applied
before the view is applied. In the case where it failed for me, node3 was
marked down by the other nodes, so it is possible there was an inconsistent
read here.
I've pushed [a dtest
branch|https://github.com/carlyeks/cassandra-dtest/tree/fix-12225] which
replays the batchlogs after inserting data; hopefully that will help this test.
I'm currently running this locally to see whether it can still be reproduced.
> dtest failure in
> materialized_views_test.TestMaterializedViews.clustering_column_test
> -------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12225
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12225
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: Philip Thompson
> Labels: dtest
> Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log,
> node2_debug.log, node2_gc.log, node3.log, node3_debug.log, node3_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_offheap_dtest/336/testReport/materialized_views_test/TestMaterializedViews/clustering_column_test
> Failed on CassCI build trunk_offheap_dtest #336
> {code}
> Stacktrace
> File "/usr/lib/python2.7/unittest/case.py", line 329, in run
> testMethod()
> File "/home/automaton/cassandra-dtest/materialized_views_test.py", line
> 321, in clustering_column_test
> self.assertEqual(len(result), 2, "Expecting {} users, got {}".format(2,
> len(result)))
> File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
> assertion_func(first, second, msg=msg)
> File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
> raise self.failureException(msg)
> "Expecting 2 users, got 1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)