You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "samueldlightfoot (via GitHub)" <gi...@apache.org> on 2026/02/13 12:16:13 UTC

[PR] Test failure: org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary [cassandra]

samueldlightfoot opened a new pull request, #4612:
URL: https://github.com/apache/cassandra/pull/4612

   Reduce memory footprint of IndexSummaryTest large summary tests
   
   The runtime overflow guard test (testLargeIndexSummary) required ~2 GiB of off-heap memory to trigger the Integer.MAX_VALUE boundary in IndexSummaryBuilder.maybeAddEntry. SafeMemoryWriter's 50% buffer growth strategy caused ~5 GiB peak memory during reallocation (old + new buffer), exceeding CI medium node limits (3.5-5 GB).
   
   Extract the hardcoded Integer.MAX_VALUE threshold in IndexSummaryBuilder into a @VisibleForTesting field (maxEntriesSize), allowing the test to exercise the same guard logic with a 2 MB threshold instead. Rename both large summary tests to reflect their distinct code paths: runtime truncation vs constructor-initiated downsampling.
   
   patch by Sam Lightfoot; reviewed by <Reviewers> for CASSANDRA-20599


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] Test failure: org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary [cassandra]

Posted by "samueldlightfoot (via GitHub)" <gi...@apache.org>.
samueldlightfoot commented on PR #4612:
URL: https://github.com/apache/cassandra/pull/4612#issuecomment-3897218192

   Committed a3a834ad31907f0401489675390656b2dc570425
   
   Thank you @michaelsembwever, @netudima & @driftx.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] Test failure: org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary [cassandra]

Posted by "samueldlightfoot (via GitHub)" <gi...@apache.org>.
samueldlightfoot closed pull request #4612: Test failure: org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary
URL: https://github.com/apache/cassandra/pull/4612


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org