Skip to content

Commit f93efc3

Browse files
committed
Added cluster state version to the debug logging of shards instances used in search.
1 parent e5b8293 commit f93efc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/elasticsearch/action/search/type/TransportSearchTypeAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ final void innerMoveToSecondPhase() throws Exception {
404404
sb.append(result.shardTarget());
405405
}
406406

407-
logger.debug("Moving to second phase, based on results from: {}", sb);
407+
logger.debug("Moving to second phase, based on results from: {} (cluster state version: {})", sb, clusterState.version());
408408
}
409409
moveToSecondPhase();
410410
}

0 commit comments

Comments
 (0)