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

Improve Debuggability of SolrCloud using MDC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • SolrCloud
    • None

    Description

      SOLR-6673 added MDC based logging in a few places but we have a lot of ground to cover.

      1. Threads created via thread pool executors do not inherit MDC values and those are some of the most interesting places to log MDC context.
      2. We must expose node names (in tests) so that we can debug faster
      3. We can expose more information via thread names so that a thread dump has enough context to help debug problems in production

      This is critical to help debug SolrCloud failures.

      Attachments

        1. SOLR-7381-submitter-stacktrace.patch
          1 kB
          Shalin Shekhar Mangar
        2. SOLR-7381-thread-names.patch
          17 kB
          Shalin Shekhar Mangar
        3. SOLR-7381-thread-names.patch
          16 kB
          Shalin Shekhar Mangar
        4. SOLR-7381-forbid-threadpoolexecutor.patch
          6 kB
          Shalin Shekhar Mangar
        5. SOLR-7381-thread-names.patch
          13 kB
          Shalin Shekhar Mangar
        6. SOLR-7381.patch
          54 kB
          Shalin Shekhar Mangar
        7. SOLR-7381.patch
          44 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: