Details
Description
After building a summary, IndexSummaryBuilder tries to trim the memory writers by calling SafeMemoryWriter.setCapacity(capacity()). Instead of trimming, this ends up allocating at least as much extra space and failing the Buffer.position() call when the size is greater than Integer.MAX_VALUE.
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-15084 failed compactions in specific cluster version 3.11.2
- Resolved