Skip to content

HCD-468: Increase the caching time of estimated partition count - #2571

Open
blambov wants to merge 1 commit into
main-5.0from
HCD-468-5.0
Open

HCD-468: Increase the caching time of estimated partition count#2571
blambov wants to merge 1 commit into
main-5.0from
HCD-468-5.0

Conversation

@blambov

@blambov blambov commented Aug 18, 2026

Copy link
Copy Markdown

What is the issue

HCD-468

Significant CPU pressure from interval tree construction during sstable set updates when the number of sstables is high.

What does this PR fix and why was it fixed

Increases the caching time of the estimated partition count metric, which can also cause CPU pressure in the presence of many single-partition sstables (usually from repair).

C* 5 already includes the interval tree improvements.

CC4 PR: #2552

@github-actions

Copy link
Copy Markdown

Checklist before you submit for review

  • This PR adheres to the Definition of Done
  • Make sure there is a PR and ticket in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%, check manually at SonarCloud page
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits
  • All new files should contain the IBM copyright header instead of the Apache License one (no DataStax copyright any longer)

@blambov
blambov requested a review from bereng August 18, 2026 07:51
@sonarqube-dx-prod

sonarqube-dx-prod Bot commented Aug 18, 2026

Copy link
Copy Markdown

@plpesvc-ds

Copy link
Copy Markdown

❌ Build ds-cassandra-pr-gate/PR-2571 rejected by Butler


4 regressions found
See build details here


Found 4 new test failures

Test Explanation Runs Upstream
junit.framework.TestSuite.org.apache.cassandra.distributed.test.sai.features.FeaturesVersionSupportBATest-_jdk11 REGRESSION 🔴 0 / 30
o.a.c.concurrent.StageTimeMeasurementTest.executionAndQueueTimeAreCountedOnSubmitWithResult (compression) REGRESSION 🔴 0 / 30
o.a.c.index.sai.cql.VectorCompaction100dTest.testOneToManyCompaction[version=eb enableNVQ=false] () NEW 🔴 0 / 30
o.a.c.index.sai.cql.VectorSiftSmallTest.testCompaction[ec false] () NEW 🔴 0 / 30

No known test failures found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants