mirror of https://github.com/apache/lucene.git
fix for SOLR-3770: Overseer may lose updates to cluster state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
288926a15f
commit
883323f166
|
@ -88,6 +88,7 @@ Bug Fixes
|
|||
* SOLR-3745: Proper error reporting if SolrCloud mode is used w/o
|
||||
necessary "_version_" field in schema.xml (hossman)
|
||||
|
||||
* SOLR-3770: Overseer may lose updates to cluster state (siren)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -126,8 +126,8 @@ public class Overseer {
|
|||
final String operation = message.get(QUEUE_OPERATION);
|
||||
|
||||
clusterState = processMessage(clusterState, message, operation);
|
||||
byte[] processed = stateUpdateQueue.remove();
|
||||
workQueue.offer(processed);
|
||||
workQueue.offer(head);
|
||||
stateUpdateQueue.remove();
|
||||
head = stateUpdateQueue.peek();
|
||||
}
|
||||
zkClient.setData(ZkStateReader.CLUSTER_STATE,
|
||||
|
|
Loading…
Reference in New Issue