[
https://issues.apache.org/jira/browse/CASSANDRA-16316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-16316:
----------------------------------------
Bug Category: Parent values: Degradation(12984)Level 1 values: Resource
Management(12995)
Complexity: Normal
Discovered By: User Report
Fix Version/s: 3.11.x
3.0.x
2.2.x
Severity: Normal
Status: Open (was: Triage Needed)
Thanks for the report [~Jan Karlsson], I believe you're right. It seems like
overriding {{afterExecute}} in the {{AuthCache}}'s executor and not calling
{{maybeResetTraceSessionWrapper}} is the cause.
I had a quick check but I wasn't able to repro on trunk, the way that the
background refreshes are done changed a bit with CASSANDRA-14497, which may
have helped. That said, I didn't spend too long trying to repro, so I could
have just missed something.
> 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
> Priority: Normal
> Fix For: 2.2.x, 3.0.x, 3.11.x
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]