mirror of https://github.com/apache/lucene.git
SOLR-13252: Fix an NPE when setting a "policy" property for an existing collection.
This commit is contained in:
parent
e63ac04de6
commit
b4b9c39392
|
@ -684,7 +684,7 @@ public class OverseerCollectionMessageHandler implements OverseerMessageHandler,
|
|||
if (!updateKey.equals(ZkStateReader.COLLECTION_PROP)
|
||||
&& !updateKey.equals(Overseer.QUEUE_OPERATION)
|
||||
&& updateEntry.getValue() != null // handled below in a separate conditional
|
||||
&& !collection.get(updateKey).equals(updateEntry.getValue())){
|
||||
&& !updateEntry.getValue().equals(collection.get(updateKey))) {
|
||||
areChangesVisible = false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue