sunhaihong created CASSANDRA-15669:
--------------------------------------

             Summary: LeveledCompactionStrategy compact last level throw an 
ArrayIndexOutOfBoundsException
                 Key: CASSANDRA-15669
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15669
             Project: Cassandra
          Issue Type: Bug
            Reporter: sunhaihong
            Assignee: sunhaihong
         Attachments: cfs_compaction_info.png, error_info.png

cassandra will throw an ArrayIndexOutOfBoundsException when compact last level.

My test is as follows:
 # Create a table with LeveledCompactionStrategy and its params are 'enabled': 
'true', 'fanout_size': '2', 'max_threshold': '32', 'min_threshold': '4', 
'sstable_size_in_mb': '2'(fanout_size and sstable_size_in_mb are too small just 
to make it easier to reproduce the problem);
 # Insert data into the table by stress;
 # Cassandra throw an ArrayIndexOutOfBoundsException when compact level9 
sstables(this level score bigger than 1.001)

I tested it on cassandra version 3.11.3 & 4.0-alpha3. The exception all 
happened.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to