mirror of https://github.com/apache/lucene.git
Log main cluster state version on update for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682239 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8182169bb4
commit
c4acf28dd1
|
@ -329,6 +329,7 @@ public class ZkStateReader implements Closeable {
|
|||
// update volatile
|
||||
ZkStateReader.this.clusterState = constructState(ln, thisWatch);
|
||||
}
|
||||
log.info("Updated cluster state version to " + ZkStateReader.this.clusterState.getZkClusterStateVersion());
|
||||
} catch (KeeperException e) {
|
||||
if (e.code() == KeeperException.Code.SESSIONEXPIRED
|
||||
|| e.code() == KeeperException.Code.CONNECTIONLOSS) {
|
||||
|
|
Loading…
Reference in New Issue