Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14351

Harden MDCLoggingContext.clear depth tracking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.6
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m