Jan Karlsson created CASSANDRA-16316: ----------------------------------------
Summary: Tracing continues after session completed Key: CASSANDRA-16316 URL: https://issues.apache.org/jira/browse/CASSANDRA-16316 Project: Cassandra Issue Type: Bug Components: Observability/Tracing Reporter: Jan Karlsson Assignee: Jan Karlsson We saw the system_trace.events table increasing in size continuously without any trace requests being issued. I traced the issue back to a specific version and patch. I believe we have removed the call to reset the trace flag in CASSANDRA-15041 which causes tracing to continue in the thread even after it is finished with the request. Reproduced like follows: 1. ccm test -n 1 -v 3.11.9 2. Enable authentication/authorization 3. Set permissions_update_interval_in_ms: 1000 (It works if this value is default value. I am guessing this is because the update is done in the calling thread) 4. select * from some table a bunch of times until PermissionRoleCache is refreshed 5. Watch system_traces.events grow -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org