mirror of https://github.com/apache/lucene.git
SOLR-8258: Change default hdfs tlog replication factor from 1 to 3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713673 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50c89d58e6
commit
148b453949
|
@ -138,6 +138,8 @@ Other Changes
|
|||
|
||||
* SOLR-8259: Remove deprecated JettySolrRunner.getDispatchFilter()
|
||||
|
||||
* SOLR-8258: Change default hdfs tlog replication factor from 1 to 3. (Mark Miller)
|
||||
|
||||
================== 5.4.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
||||
|
|
|
@ -101,7 +101,7 @@ public class HdfsUpdateLog extends UpdateLog {
|
|||
maxNumLogsToKeep = objToInt(info.initArgs.get("maxNumLogsToKeep"), 10);
|
||||
|
||||
tlogDfsReplication = (Integer) info.initArgs.get( "tlogDfsReplication");
|
||||
if (tlogDfsReplication == null) tlogDfsReplication = 1;
|
||||
if (tlogDfsReplication == null) tlogDfsReplication = 3;
|
||||
|
||||
log.info("Initializing HdfsUpdateLog: dataDir={} defaultSyncLevel={} numRecordsToKeep={} maxNumLogsToKeep={} tlogDfsReplication={}",
|
||||
dataDir, defaultSyncLevel, numRecordsToKeep, maxNumLogsToKeep, tlogDfsReplication);
|
||||
|
|
Loading…
Reference in New Issue