[ 
https://issues.apache.org/jira/browse/CASSANALYTICS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudipta Laha updated CASSANALYTICS-101:
---------------------------------------
                        Authors: Sudipta Laha
    Test and Documentation Plan: 
#### Test Setup

* Cassandra cluster:
    * DataCenter1 : [Node1, Node2, Node3], RF=3
    * DataCenter2 : [Node4, Node5, Node6], RF=3
* Replication strategy: 

{ 
 'class' : 'NetworkTopologyStrategy', 
 'datacenter1' : 3, 
 'datacenter2' : 3 
}

* Read repair disabled.
* Auto repair disabled.

#### Test Cases

* TC#1: Happy Path, ALL==QUORUM==EACH_QUORUM
    * Write [K1, V1] with ALL consistency level
    * Bulk read separately with ALL, QUORUM and EACH_QUORUM
    * Use driver to read separately with ALL, QUORUM and EACH_QUORUM
    * All bulk reads and driver reads should return the same data
* TC#2: QUORUM != EACH_QUORUM
    * Write [K1, V1] with ALL consistency level
    * Write [K1, V2] locally to only Node5, Node6
    * Bulk read separately with ALL, QUORUM and EACH_QUORUM
    * Use driver to read separately with ALL, QUORUM and EACH_QUORUM
    * ALL should return [K1, V2], QUORUM should return [K1, V1], EACH_QUORUM 
should return [K1, V2]
    * Driver results should match bulk read results
* TC#3: EACH_QUORUM succeeds with single down nodes in each DC
    * Write [K1, V1] with ALL consistency level
    * Shut down Node1 and Node4
    * Bulk read with EACH_QUORUM
    * Use driver to read with EACH_QUORUM
    * Bulk read should succeed and return [K1, V1]
    * Driver results should match bulk read results
* TC#4: QUORUM succeeds but EACH_QUORUM fails with multiple down nodes in one DC
    * Write [K1, V1] with ALL consistency level
    * Shut down Node5 and Node6
    * Bulk read separately with QUORUM and EACH_QUORUM
    * Use driver to read with QUORUM and EACH_QUORUM
    * QUORUM should succeed with [K1, V1] result
    * EACH_QUORUM should fail with NotEnoughReplicas error.
    * Driver results should match bulk read results
                         Status: Patch Available  (was: Open)

> Add EACH_QUORUM consistency level support in bulk reader
> --------------------------------------------------------
>
>                 Key: CASSANALYTICS-101
>                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-101
>             Project: Apache Cassandra Analytics
>          Issue Type: New Feature
>          Components: Reader
>            Reporter: Sudipta Laha
>            Assignee: Sudipta Laha
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The bulk reader supports various consistency levels including LOCAL_QUORUM, 
> but it does not support EACH_QUORUM consistency. This limitation creates a 
> significant problem for customers who need globally consistent data in their 
> analytics workloads. We need EACH_QUORUM consistency level support in the 
> {color:#1f2328}bulk reader to address limitation.{color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to