Francisco Guerrero created CASSANDRA-21827:
----------------------------------------------

             Summary: Cursor compaction fails with AssertionError when a static 
collection exceeds a collection guardrail threshold
                 Key: CASSANDRA-21827
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21827
             Project: Apache Cassandra
          Issue Type: Bug
          Components: Local/Compaction
            Reporter: Francisco Guerrero
            Assignee: Francisco Guerrero


When using the cursor compaction path, compacting a partition whose static 
non-frozen collection is over the collection_size or items_per_collection 
threshold throws an AssertionError causing the compaction to fail. The iterator 
compactor correctly compacts the same data, while logging a warning for the 
guardrail.

Because compaction will fail every time when trying to compact the affected 
SSTables, operators will either need to raise or remove the threshold or turn 
off cursor compaction.

This issue only happens when the cursor compaction is enabled and the 
collection_size warn/fail thresholds or items_per_collection warn/fail 
thresholds are set, and we are trying to compact a non-frozen static 
collection. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to