Skip to content

Conversation

michaeljmarshall
Copy link
Member

What is the issue

https://github.com/riptano/cndb/issues/14802

What does this PR fix and why was it fixed

This fix works in collaboration with datastax/jvector#521. Specifically, it focuses on removing the estimation aspect of the memory management and instead works by reserving more memory than is expected to be needed, then adjusting the real usage once the actual value of memory required is known. This should help reduce cases where we exceed the bytes used.

Copy link

github-actions bot commented Sep 17, 2025

Checklist before you submit for review

  • This PR adheres to the Definition of Done
  • Make sure there is a PR 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%
  • 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 DataStax copyright header instead of the Apache License one

@michaeljmarshall
Copy link
Member Author

Some of the tests are failing for unrelated reasons. I pushed a fix for those here #2007

@michaeljmarshall
Copy link
Member Author

Merged in datastax/main to get #2007 and hopefully see a cleaner test run

We no longer block until the
first insertion completes,
and as such, we need to make
sure that isEmpty correctly
accounts for inflight inserts.

This fixes a flaky test (only
flaky for this branch) in the
FeaturesVersionSupportTest.
Copy link

@cassci-bot
Copy link

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