mirror of https://github.com/apache/lucene.git
SOLR-13058 Fix synchronized block
This commit is contained in:
parent
61e448666d
commit
a7859ff62a
|
@ -72,6 +72,11 @@ New Features
|
|||
|
||||
* SOLR-12593: The default configSet now includes an "ignored_*" dynamic field. (David Smiley)
|
||||
|
||||
Bug Fixes
|
||||
----------------------
|
||||
|
||||
* SOLR-13058: Fix block that was synchronizing on the wrong collection in OverseerTaskProcessor (Gus Heck)
|
||||
|
||||
Improvements
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -345,7 +345,7 @@ public class OverseerTaskProcessor implements Runnable, Closeable {
|
|||
synchronized (completedTasks) {
|
||||
for (String id : completedTasks.keySet()) {
|
||||
workQueue.remove(completedTasks.get(id));
|
||||
synchronized (runningTasks) {
|
||||
synchronized (runningZKTasks) {
|
||||
runningZKTasks.remove(id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue