From 43f007f64296ed964f7e8374e7c3eafb23a334f6 Mon Sep 17 00:00:00 2001 From: ireath Date: Mon, 23 Mar 2026 15:19:15 -0400 Subject: [PATCH] CASSANDRA-21247: Enable check_data_resurrection by default in cassandra_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 TBD for CASSANDRA-21247 --- CHANGES.txt | 1 + conf/cassandra_latest.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index a1fd10795cb..eb3d03a8883 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 6.0-alpha1 + * Enable check_data_resurrection by default in cassandra_latest.yaml (CASSANDRA-21247) * Rework ZSTD dictionary compression logic to create a trainer per training (CASSANDRA-21209) * Improve performance when calculating settled placements during range movements (CASSANDRA-21144) * Make shadow gossip round parameters configurable for testing (CASSANDRA-21149) diff --git a/conf/cassandra_latest.yaml b/conf/cassandra_latest.yaml index 13b54aa53fb..14df898075d 100644 --- a/conf/cassandra_latest.yaml +++ b/conf/cassandra_latest.yaml @@ -2453,21 +2453,21 @@ default_secondary_index_enabled: true # It is possible to implement custom startup checks by implementing StatupCheck interface # and placing JAR on a classpath, using SPI mechanism. # -#startup_checks: -# Verifies correct ownership of attached locations on disk at startup. See CASSANDRA-16879 for more details. -# check_filesystem_ownership: -# enabled: false -# ownership_token: "sometoken" # (overriden by "CassandraOwnershipToken" system property) -# ownership_filename: ".cassandra_fs_ownership" # (overriden by "cassandra.fs_ownership_filename") +startup_checks: # Enable this property to fail startup if the node is down for longer than gc_grace_seconds, to potentially # prevent data resurrection on tables with deletes. By default, this will run against all keyspaces and tables # except the ones specified on excluded_keyspaces and excluded_tables. -# check_data_resurrection: -# enabled: false + check_data_resurrection: + enabled: true # file where Cassandra periodically writes the last time it was known to run # heartbeat_file: /var/lib/cassandra/data/cassandra-heartbeat # excluded_keyspaces: # comma separated list of keyspaces to exclude from the check # excluded_tables: # comma separated list of keyspace.table pairs to exclude from the check +# Verifies correct ownership of attached locations on disk at startup. See CASSANDRA-16879 for more details. +# check_filesystem_ownership: +# enabled: false +# ownership_token: "sometoken" # (overriden by "CassandraOwnershipToken" system property) +# ownership_filename: ".cassandra_fs_ownership" # (overriden by "cassandra.fs_ownership_filename") # This property indicates with what Cassandra major version the storage format will be compatible with. #