cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Yeksigian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12097) dtest failure in materialized_views_test.TestMaterializedViews.view_tombstone_test
Date Wed, 13 Jul 2016 19:03:20 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375542#comment-15375542
] 

Carl Yeksigian commented on CASSANDRA-12097:
--------------------------------------------

Based on where this error comes from, I think this is an issue with this test (and most likely
our other materialized view tests) where we don't account for the fact that we are writing
asynchronously to the other nodes and could get a wrong value back because of it.

We should be waiting for the write threadpools to drain and hints to playback before trying
to verify.

> dtest failure in materialized_views_test.TestMaterializedViews.view_tombstone_test
> ----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12097
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12097
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sean McCarthy
>            Assignee: Carl Yeksigian
>              Labels: dtest
>             Fix For: 3.x
>
>         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/271/testReport/materialized_views_test/TestMaterializedViews/view_tombstone_test
> Failed on CassCI build trunk_offheap_dtest #271
> {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 754, in view_tombstone_test
>     [1, 1, 'b', 3.0]
>   File "/home/automaton/cassandra-dtest/assertions.py", line 51, in assert_one
>     assert list_res == [expected], "Expected %s from %s, but got %s" % ([expected], query,
list_res)
> "Expected [[1, 1, 'b', 3.0]] from SELECT * FROM t_by_v WHERE v = 1, but got [[1, 1, u'b',
None]]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message