Disable immediate flusher by default for cassandra-3.0 and cassandra-3.11 patch by Michael Burman and Sumanth Pasupuleti; reviewed by Benedict for CASSANDRA-14855
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b82a42fd Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b82a42fd Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b82a42fd Branch: refs/heads/trunk Commit: b82a42fd9ae99dc115ec04339f4265096bb45044 Parents: fff6eec Author: sumanthpasupuleti <sumanth.pasupuleti...@gmail.com> Authored: Tue Nov 20 08:17:01 2018 -0800 Committer: Benedict Elliott Smith <bened...@apache.org> Committed: Thu Dec 6 15:49:55 2018 +0000 ---------------------------------------------------------------------- conf/cassandra.yaml | 7 +------ src/java/org/apache/cassandra/config/Config.java | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/b82a42fd/conf/cassandra.yaml ---------------------------------------------------------------------- diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml index 2e6f363..84664fe 100644 --- a/conf/cassandra.yaml +++ b/conf/cassandra.yaml @@ -1002,9 +1002,4 @@ windows_timer_interval: 1 # time and queue contention while iterating the backlog of messages. # An interval of 0 disables any wait time, which is the behavior of former Cassandra versions. # -# otc_backlog_expiration_interval_ms: 200 - -# Define use of legacy delayed flusher for replies to TCP connections. This will increase latency, but might be beneficial for -# legacy use-cases where only a single connection is used for each Cassandra node. Default is false. -# native_transport_flush_in_batches_legacy: false - +# otc_backlog_expiration_interval_ms: 200 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cassandra/blob/b82a42fd/src/java/org/apache/cassandra/config/Config.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/config/Config.java b/src/java/org/apache/cassandra/config/Config.java index 6d56c74..130ff08 100644 --- a/src/java/org/apache/cassandra/config/Config.java +++ b/src/java/org/apache/cassandra/config/Config.java @@ -149,7 +149,7 @@ public class Config public Integer native_transport_max_frame_size_in_mb = 256; public volatile Long native_transport_max_concurrent_connections = -1L; public volatile Long native_transport_max_concurrent_connections_per_ip = -1L; - public boolean native_transport_flush_in_batches_legacy = false; + public boolean native_transport_flush_in_batches_legacy = true; @Deprecated public Integer thrift_max_message_length_in_mb = 16; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org