this should be volatile

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-02-24 17:16:16 +00:00
parent 54681c0cfd
commit 6d2ef6a1e4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class CloudSolrServer extends SolrServer {
private String zkHost; // the zk server address
private int zkConnectTimeout = 10000;
private int zkClientTimeout = 10000;
private String defaultCollection;
private volatile String defaultCollection;
private LBHttpSolrServer lbServer;
Random rand = new Random();
private MultiThreadedHttpConnectionManager connManager;