SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core

This commit is contained in:
Erick 2016-12-12 18:43:30 -08:00
parent fecbbe081f
commit 8c79ab2649
2 changed files with 3 additions and 1 deletions

View File

@ -242,6 +242,8 @@ Bug Fixes
* SOLR-9707: Don't forward DeleteByQuery requests to down replicas. (Jessica Cheng Mallet via Varun Thacker) * SOLR-9707: Don't forward DeleteByQuery requests to down replicas. (Jessica Cheng Mallet via Varun Thacker)
* SOLR-9823: CoreContainer incorrectly setting MDCLoggingContext for core (Jessica Cheng Mallet via Erick Erickson)
Other Changes Other Changes
---------------------- ----------------------

View File

@ -857,7 +857,7 @@ public class CoreContainer {
SolrCore core = null; SolrCore core = null;
try { try {
MDCLoggingContext.setCore(core); MDCLoggingContext.setCoreDescriptor(dcore);
SolrIdentifierValidator.validateCoreName(dcore.getName()); SolrIdentifierValidator.validateCoreName(dcore.getName());
if (zkSys.getZkController() != null) { if (zkSys.getZkController() != null) {
zkSys.getZkController().preRegister(dcore); zkSys.getZkController().preRegister(dcore);