You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/06/08 23:26:01 UTC

[jira] [Comment Edited] (CASSANDRA-9102) Consistency levels such as non-local quorum need better tests

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

Ariel Weisberg edited comment on CASSANDRA-9102 at 6/8/15 9:25 PM:
-------------------------------------------------------------------

This tests part of it. It tests that we get the correct availability/unavailability for a CL. It doesn't test the data coming back though. I would like to create a scenario where you know nodes(s) are missing data, and that only by getting the CL you asked for (and merging the results) will you get the right answer. Maybe also validate tombstone handling behavior + consistency levels so not just appending data.

It's a huge improvement to what we have. We will know when we have a bug that prevents us from answering at a specific consistency level.


was (Author: aweisberg):
This tests part of it. It tests that we get the correct availability/unavailability for a CL. It doesn't test the data coming back though. I would like to create a scenario where you know nodes(s) are missing data, and that only by getting the CL you asked for (and merging the results) will you get the right answer.

> Consistency levels such as non-local quorum need better tests
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-9102
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9102
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Ariel Weisberg
>            Assignee: Stefania
>
> We didn't catch unit testing for this functionality. There is dtest consistency_test but it doesn't cover non-local functionality.



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