This is an automated email from the ASF dual-hosted git repository. samt pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new a15b137b7c Remove unused fields from config a15b137b7c is described below commit a15b137b7c8c84773453dbe264fcd2d4b76222c0 Author: Sam Tunnicliffe <s...@apache.org> AuthorDate: Tue Apr 30 09:04:09 2024 +0100 Remove unused fields from config Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19599 --- CHANGES.txt | 1 + src/java/org/apache/cassandra/config/Config.java | 2 -- .../apache/cassandra/config/DatabaseDescriptor.java | 20 -------------------- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index b0ba04f3e2..34e4825d26 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 5.1 + * Remove unused fields from config (CASSANDRA-19599) * Refactor Relation and Restriction hierarchies (CASSANDRA-19341) * Raise priority of TCM internode messages during critical operations (CASSANDRA-19517) * Add nodetool command to unregister LEFT nodes (CASSANDRA-19581) diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index db1d07c542..17e9e99cb7 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -1299,8 +1299,6 @@ public class Config * collect enough nodes. */ public volatile ConsistencyLevel progress_barrier_min_consistency_level = ConsistencyLevel.EACH_QUORUM; - public volatile boolean log_out_of_token_range_requests = true; - public volatile boolean reject_out_of_token_range_requests = true; public volatile ConsistencyLevel progress_barrier_default_consistency_level = ConsistencyLevel.EACH_QUORUM; public volatile DurationSpec.LongMillisecondsBound progress_barrier_timeout = new DurationSpec.LongMillisecondsBound("3600000ms"); diff --git a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java index 7b747e9c02..bea35ef16b 100644 --- a/src/java/org/apache/cassandra/config/DatabaseDescriptor.java +++ b/src/java/org/apache/cassandra/config/DatabaseDescriptor.java @@ -5094,26 +5094,6 @@ public class DatabaseDescriptor conf.progress_barrier_min_consistency_level = newLevel; } - public static boolean getLogOutOfTokenRangeRequests() - { - return conf.log_out_of_token_range_requests; - } - - public static void setLogOutOfTokenRangeRequests(boolean enabled) - { - conf.log_out_of_token_range_requests = enabled; - } - - public static boolean getRejectOutOfTokenRangeRequests() - { - return conf.reject_out_of_token_range_requests; - } - - public static void setRejectOutOfTokenRangeRequests(boolean enabled) - { - conf.reject_out_of_token_range_requests = enabled; - } - public static ConsistencyLevel getProgressBarrierDefaultConsistencyLevel() { return conf.progress_barrier_default_consistency_level; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org