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

Add MDC information to core admin requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4, 8.0
    • Component/s: logging
    • Labels:
      None

      Description

      If we call a core admin call , logging doesn't mention the core that it's operating on. 

      This can make reading the logs a lot tougher . We should add the core name that we're operating on while executing core admin requests.

      12732 INFO (qtp1381501510-36) [n:127.0.0.1:56134_solr x:backuprestore_restored_shard1_replica_n83] o.a.s.h.RestoreCore Copying file segments_1 to restore directory 
      12732 INFO (qtp2094260422-39) [n:127.0.0.1:56133_solr x:backuprestore_restored_shard2_replica_n81] o.a.s.h.RestoreCore Copying file _0.dii to restore directory 
      

      The core names have been added as part of the patch. Previously they were missing 

        Attachments

        1. SOLR-12288.patch
          2 kB
          Varun Thacker

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: