Change cassandra.wait_for_tracing_events_timeout_secs default to 0 Patch by Stefania Alborghetti; reviewed by Paulo Motta for CASSANDRA-12754
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2122ff88 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2122ff88 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2122ff88 Branch: refs/heads/cassandra-3.0 Commit: 2122ff88fe8f5cec5985570b71437e782b580715 Parents: 2871377 Author: Stefania Alborghetti <stefania.alborghe...@datastax.com> Authored: Tue Oct 11 12:02:18 2016 +0800 Committer: Stefania Alborghetti <stefania.alborghe...@datastax.com> Committed: Tue Oct 25 09:42:02 2016 +0800 ---------------------------------------------------------------------- CHANGES.txt | 1 + src/java/org/apache/cassandra/tracing/TraceState.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/2122ff88/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index 8b61da4..a22439b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 2.2.9 + * Change cassandra.wait_for_tracing_events_timeout_secs default to 0 (CASSANDRA-12754) * Clean up permissions when a UDA is dropped (CASSANDRA-12720) * Limit colUpdateTimeDelta histogram updates to reasonable deltas (CASSANDRA-11117) * Fix leak errors and execution rejected exceptions when draining (CASSANDRA-12457) http://git-wip-us.apache.org/repos/asf/cassandra/blob/2122ff88/src/java/org/apache/cassandra/tracing/TraceState.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/tracing/TraceState.java b/src/java/org/apache/cassandra/tracing/TraceState.java index 03e510f..88f36d8 100644 --- a/src/java/org/apache/cassandra/tracing/TraceState.java +++ b/src/java/org/apache/cassandra/tracing/TraceState.java @@ -52,7 +52,7 @@ public class TraceState implements ProgressEventNotifier { private static final Logger logger = LoggerFactory.getLogger(TraceState.class); private static final int WAIT_FOR_PENDING_EVENTS_TIMEOUT_SECS = - Integer.valueOf(System.getProperty("cassandra.wait_for_tracing_events_timeout_secs", "1")); + Integer.valueOf(System.getProperty("cassandra.wait_for_tracing_events_timeout_secs", "0")); public final UUID sessionId; public final InetAddress coordinator;