Skip to content

Commit

Permalink
Remove unused fields from config
Browse files Browse the repository at this point in the history
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-19599
  • Loading branch information
beobal committed May 16, 2024
1 parent 7579454 commit a15b137
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
1 change: 1 addition & 0 deletions 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)
Expand Down
2 changes: 0 additions & 2 deletions src/java/org/apache/cassandra/config/Config.java
Expand Up @@ -1299,8 +1299,6 @@ public static void log(Config 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");
Expand Down
20 changes: 0 additions & 20 deletions src/java/org/apache/cassandra/config/DatabaseDescriptor.java
Expand Up @@ -5094,26 +5094,6 @@ public static void setProgressBarrierMinConsistencyLevel(ConsistencyLevel newLev
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;
Expand Down

0 comments on commit a15b137

Please sign in to comment.