mirror of https://github.com/apache/lucene.git
SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core
This commit is contained in:
parent
fecbbe081f
commit
8c79ab2649
|
@ -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
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue