Full ERROR Message Example
ERROR TRACING 2020-08-18 17:35:39,589 TraceStateImpl.java:90 - Got exception whilst waiting for tracing events to complete
What does this ERROR message mean?
When enabling probabilistic tracing in older DSE and Cassandra versions, wait_for_tracing_events_timeout_secs was set relatively low. Thus, if a node fails to respond in the time specified, the tracing fails with the above error. In later DSE and Cassandra versions, the wait_for_tracing_events_timeout_secs was set to 0, totally bypassing this code.
Why does this ERROR occur?
This error may occur due to a low configuration for wait_for_tracing_events_timeout_secs, which is set to 0 in later cassandra releases and thus would bypass this error:
if (WAIT_FOR_PENDING_EVENTS_TIMEOUT_SECS <= 0)
Please refer to CASSANDRA-12754 for more details:
How do you fix this ERROR?
You can set the following in the jvm.options file:
or you can upgrade to the latest DSE releases or Open Source Cassandra releases 2.2.9, 3.0.10, 3.10 or higher, which set wait_for_tracing_events_timeout_secs=0 by default.