Josh McKenzie created CASSANDRA-21241:
-----------------------------------------

             Summary: Add guardrail to disallow bulk import of tables with 
legacy 2i's
                 Key: CASSANDRA-21241
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21241
             Project: Apache Cassandra
          Issue Type: Improvement
            Reporter: Josh McKenzie


The import logic for legacy 2i can have a very long window where an index is 
stale after a table has data bulk imported into it (notably, SAI doesn't have 
this same issue). To protect against this, we should have a guardrail operators 
can configure, on by default (to match the default behavior in 
cassandra-analytics where we've been too narrowly guardrailing this in the 
past), that disallows bulk loading to tables with 2i.

Part of this is that we're adding a flag to open up this restriction on the 
spark bulk writer side, but that bulk writer is just a client of bulk sstable 
loading in C* like any other. If analytics needs that guardrail to protect 
against surprise stale reads from users, so too do any other users of the bulk 
importing facilities on the C* side.



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