mirror of https://github.com/apache/lucene.git
SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see the latest aliases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f03e1927a1
commit
b3044d6a04
|
@ -346,6 +346,9 @@ Bug Fixes
|
|||
* SOLR-5741: UpdateShardHandler was not correctly setting max total connections
|
||||
on the HttpClient. (Shawn Heisey)
|
||||
|
||||
* SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see
|
||||
the latest aliases. (Ramkumar Aiyengar via Mark Miller)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ public class ZkStateReader {
|
|||
|
||||
private ZkCmdExecutor cmdExecutor;
|
||||
|
||||
private Aliases aliases = new Aliases();
|
||||
private volatile Aliases aliases = new Aliases();
|
||||
|
||||
private volatile boolean closed = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue