Skip to content

CASSANDRA-21453 Move long running cluster metadata operations to a longer timeout#4899

Open
beobal wants to merge 3 commits into
apache:cassandra-6.0from
beobal:CASSANDRA-21453
Open

CASSANDRA-21453 Move long running cluster metadata operations to a longer timeout#4899
beobal wants to merge 3 commits into
apache:cassandra-6.0from
beobal:CASSANDRA-21453

Conversation

@beobal

@beobal beobal commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

jonmeredith and others added 3 commits June 25, 2026 12:30
Replaces the fixed-retry commit loop with deadline-based exponential
backoff for long running CMS commit operations (cms_commit_timeout=1h, 5s-60s jitter)
to allow heavily contended CMS nodes time to commit transforms.

Patch by Jon Meredith and Sam Tunnicliffe; reviewed by Jon Meredith and
Sam Tunnicliffe for CASSANDRA-21453

Co-authored-by: Sam Tunnicliffe <samt@apache.org>
@beobal beobal force-pushed the CASSANDRA-21453 branch from 0da5b73 to 5adeb3e Compare June 25, 2026 11:32

@jonmeredith jonmeredith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 code looks good. I don't think any of the test failures are related to this change.

Comment on lines +132 to +144
@Override
public String getCmsCommitMemberPreferencePolicy()
{
return DatabaseDescriptor.getCmsCommitMemberPreferencePolicy().name();
}

@Override
public void setCmsCommitMemberPreferencePolicy(String policy)
{
DatabaseDescriptor.setCmsCommitMemberPreferencePolicy(policy);
logger.info("Set cms_commit_member_preference_policy to {}", policy);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch picking these up from CASSANDRA-21456 - thanks for including.

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