isaacreath commented on code in PR #4763: URL: https://github.com/apache/cassandra/pull/4763#discussion_r3119035699
########## 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: 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). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

