Ariel Weisberg created CASSANDRA-21164:
------------------------------------------

             Summary: Bulk import support at CL
                 Key: CASSANDRA-21164
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21164
             Project: Apache Cassandra
          Issue Type: Sub-task
            Reporter: Ariel Weisberg


Right now bulk import will fail with mutation tracked tables if a node is down 
because it assumes that it will distribute at ALL, but things like BulkWriter 
would rather distribute at QUORUM or some other consistency level.

Another wrinkle is that import will distribute the data for you if it is a 
mutation tracked table, but will silently only import if it at one node if it 
is not mutation tracked. For callers this is risky and it would be better if 
distribution only occurred if the caller requested it and if the caller 
requests distribution and Cassandra will not distribute it then an error should 
be signaled. This prevent the case where the caller expects it to be 
distributed and it silently isn’t and the data is only visible at ONE.

Since mutation tracking requires distribution if the caller does not request 
distribution it should fail and indicate that it needs to be requested with 
distribution. Finicky yes, but fails fast with less risk of data loss.



--
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