From ae50cbd1ad2120bb070489e7b94d1f8ca393a4b9 Mon Sep 17 00:00:00 2001 From: Stefan Miklosovic Date: Fri, 4 Mar 2022 15:11:06 +0100 Subject: [PATCH] deprecate property windows_timer_interval patch by Stefan Miklosovic; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-17404 --- CHANGES.txt | 1 + NEWS.txt | 3 +++ src/java/org/apache/cassandra/config/Config.java | 3 +++ 3 files changed, 7 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index ff1d989c53..e6368ebb98 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.1 + * deprecate property windows_timer_interval (CASSANDRA-17404) * Expose streaming as a vtable (CASSANDRA-17390) * Make startup checks configurable (CASSANDRA-17220) * Add guardrail for number of partition keys on IN queries (CASSANDRA-17186) diff --git a/NEWS.txt b/NEWS.txt index 05a68868fe..4f5742a290 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -129,6 +129,9 @@ Deprecation in a subsequent major version. This also affects the setters and getters for those properties in the JMX MBean `org.apache.cassandra.db:type=StorageService`, which are equally deprecated in favour of the analogous methods in the JMX MBean `org.apache.cassandra.db:type=Guardrails`. See CASSANDRA-17195 for further details. + - The functionality behind the property `windows_timer_interval` was removed as part of CASSANDRA-16956. The + property is still present but it is deprecated and it is just a place-holder to prevent breaking upgrades. This + property is expected to be fully removed in the next major release of Cassandra. 4.0 === diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 964a5e1890..9dd1642925 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -473,6 +473,9 @@ public class Config */ public volatile ConsistencyLevel ideal_consistency_level = null; + @Deprecated + public int windows_timer_interval = 0; + @Deprecated public String otc_coalescing_strategy = "DISABLED";