David Capwell created CASSANDRA-21130:
-----------------------------------------

             Summary: Fix flakey tests due to tests updating SSTable format 
dynamically
                 Key: CASSANDRA-21130
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21130
             Project: Apache Cassandra
          Issue Type: Bug
          Components: CI
            Reporter: David Capwell
            Assignee: David Capwell


There are several tests that set the SSTable format for the test, but this is a 
global field and a background compaction can read the format and make different 
decisions; leading to flakey failures.

The motivating issue is that the new compaction cursor logic checks that the 
format is BIG and then enables, else it falls back to previous logic.  When the 
test changes to BTI this can cause a race with compaction leading to type cast 
issues.  

Switching the format at runtime is currently not supported and something done 
specifically by tests, so need to make sure tests do it in a safe way to make 
CI stable.



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