You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2020/03/20 04:50:00 UTC

[jira] [Created] (SOLR-14351) Harden MDCLoggingContext.clear depth tracking

David Smiley created SOLR-14351:
-----------------------------------

             Summary: Harden MDCLoggingContext.clear depth tracking
                 Key: SOLR-14351
                 URL: https://issues.apache.org/jira/browse/SOLR-14351
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley
            Assignee: David Smiley


MDCLoggingContext tracks recursive calls and only clears when the recursion level is back down to 0.  If a caller forgets to register and ends up calling clear any ways, then this can mess things up.  Additionally I found at least one place this is occurring, which led me to investigate this matter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org