You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "skoppu22 (via GitHub)" <gi...@apache.org> on 2026/04/21 16:32:14 UTC
Re: [PR] CASSANDRA-21247: [trunk] Enable check_data_resurrection by default in cassandra_latest.yaml [cassandra]
skoppu22 commented on code in PR #4763:
URL: https://github.com/apache/cassandra/pull/4763#discussion_r3118939282
##########
conf/cassandra_latest.yaml:
##########
@@ -2503,25 +2503,25 @@ 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 max(gc_grace_seconds, minimum_threshold),
# 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
# # 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
Review Comment:
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org