This is an automated email from the ASF dual-hosted git repository. edimitrova pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
commit 12e2c159f86b223df1c2018c8a395a805b11956e Author: Ekaterina Dimitrova <ekaterina.dimitr...@datastax.com> AuthorDate: Fri Feb 11 19:09:30 2022 -0500 Forward port from cassandra-4.0(CASSANDRA-17377) - deprecation of otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages, otc_backlog_expiration_interval_ms patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17378 --- NEWS.txt | 3 +++ src/java/org/apache/cassandra/config/Config.java | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/NEWS.txt b/NEWS.txt index ae56953..f9626f1 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -225,6 +225,9 @@ New features Upgrading --------- + - otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages, + otc_backlog_expiration_interval_ms are deprecated and will be removed at earliest with next major release. + otc_coalescing_strategy is disabled since 3.11. - As part of the Internode Messaging improvement work in CASSANDRA-15066, internode_send_buff_size_in_bytes and internode_recv_buff_size_in_bytes were renamed to internode_socket_send_buffer_size_in_bytes and internode_socket_receive_buffer_size_in_bytes. To support upgrades pre-4.0, we add backward compatibility and diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 4a96568..910a3e8 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -471,6 +471,20 @@ public class Config */ public volatile ConsistencyLevel ideal_consistency_level = null; + @Deprecated + public String otc_coalescing_strategy = "DISABLED"; + + @Deprecated + public static final int otc_coalescing_window_us_default = 200; + @Deprecated + public int otc_coalescing_window_us = otc_coalescing_window_us_default; + @Deprecated + public int otc_coalescing_enough_coalesced_messages = 8; + @Deprecated + public static final int otc_backlog_expiration_interval_ms_default = 200; + @Deprecated + public volatile int otc_backlog_expiration_interval_ms = otc_backlog_expiration_interval_ms_default; + /** * Size of the CQL prepared statements cache in MiB. * Defaults to 1/256th of the heap size or 10MiB, whichever is greater. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org