Skip to content

CASSANDRA-21247: [trunk] Enable check_data_resurrection by default in cassandra_latest.yaml#4763

Open
isaacreath wants to merge 1 commit intoapache:trunkfrom
isaacreath:CASSANDRA-21247-trunk
Open

CASSANDRA-21247: [trunk] Enable check_data_resurrection by default in cassandra_latest.yaml#4763
isaacreath wants to merge 1 commit intoapache:trunkfrom
isaacreath:CASSANDRA-21247-trunk

Conversation

@isaacreath
Copy link
Copy Markdown
Contributor

This patch updates the default value for check_data_resurrection so that users can benefit from this feature automatically in the next major release.

patch by Isaac Reath; reviewed by Stefan Miklosovic, Paulo Motta for CASSANDRA-21247

…ra_latest.yaml

This patch updates the default value for check_data_resurrection so that users can benefit from this feature automatically in the next major release.

patch by Isaac Reath; reviewed by Stefan Miklosovic, Paulo Motta for CASSANDRA-21247
@isaacreath isaacreath changed the title CASSANDRA-21247: Enable check_data_resurrection by default in cassandra_latest.yaml CASSANDRA-21247: [trunk] Enable check_data_resurrection by default in cassandra_latest.yaml Apr 21, 2026
# # Minimum grace period for the check, defaults to 0. Useful when gc_grace_seconds is very
# # small (e.g. 0) to avoid blocking startup immediately.
# minimum_threshold: 3h
minimum_threshold: 3h
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.

Above comment says 'defaults to 0'. Is this change to set minimum_threshold to 3h intentional? But then all clusters across the world will default to this on upgrade. We should discuss this in dev community before changing the default.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My impression from the ML thread regarding this change (https://lists.apache.org/thread/z3mdvw78f5cqovq781tvjm537w66cpsm) was that 3h would be a good default when enabling this feature so as to ensure that enabling this feature doesn't render nodes unstartable.

The comment is interesting because per this default in cassandra_latest.yaml, it is set to 3h, but in the code the default is set to 0 still (and if you remove this it is still set to 0).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I updated the ML thread to see if there are any thoughts for an alternative minimum.

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.

I am fine as long as dev community is aware of this upcoming default change.

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