mirror of https://github.com/apache/lucene.git
SOLR-5796: Fix illegal API call to format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f9124b8d03
commit
7f31dc2d7d
|
@ -31,6 +31,7 @@ import java.util.Enumeration;
|
|||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
|
@ -872,7 +873,7 @@ public final class ZkController {
|
|||
.getCoreUrl();
|
||||
|
||||
if (tries % 30 == 0) {
|
||||
String warnMsg = String.format("Still seeing conflicting information about the leader "
|
||||
String warnMsg = String.format(Locale.ENGLISH, "Still seeing conflicting information about the leader "
|
||||
+ "of shard %s for collection %s after %d seconds; our state says %s, but ZooKeeper says %s",
|
||||
cloudDesc.getShardId(), collection, tries, clusterStateLeaderUrl, leaderUrl);
|
||||
log.warn(warnMsg);
|
||||
|
|
Loading…
Reference in New Issue