Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16316

Tracing continues after session completed

    XMLWordPrintableJSON

Details

    • Degradation - Resource Management
    • Normal
    • Normal
    • User Report
    • All
    • None

    Description

      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

       

      Attachments

        Activity

          People

            Jan Karlsson Jan Karlsson
            Jan Karlsson Jan Karlsson
            Jan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: