Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

tlog: nuke unwanted localization

Yonik Seeley6279c500a293
diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
index d88420916eb..179c9d6481e 100644
--- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java
+++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java
@@ -571,7 +571,7 @@ public class UpdateLog implements PluginInfoInitialized {
private void ensureLog() {
if (tlog == null) {
- String newLogName = String.format("%s.%019d", TLOG_NAME, id);
+ String newLogName = String.format(Locale.ENGLISH, "%s.%019d", TLOG_NAME, id);
try {
tlog = new TransactionLog(new File(tlogDir, newLogName), globalStrings);
} catch (IOException e) {