bring back the file chunk size in recovery to 100kb from 500kb

This commit is contained in:
kimchy 2010-12-15 01:28:21 +02:00
parent b6277ac14d
commit 36be13ffb3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class RecoverySource extends AbstractComponent {
int concurrentStreams = componentSettings.getAsInt("concurrent_streams", 5);
this.concurrentStreamPool = DynamicExecutors.newScalingThreadPool(1, concurrentStreams, TimeValue.timeValueSeconds(5).millis(), EsExecutors.daemonThreadFactory(settings, "[recovery_stream]"));
this.fileChunkSize = componentSettings.getAsBytesSize("file_chunk_size", new ByteSizeValue(500, ByteSizeUnit.KB));
this.fileChunkSize = componentSettings.getAsBytesSize("file_chunk_size", new ByteSizeValue(100, ByteSizeUnit.KB));
this.translogBatchSize = componentSettings.getAsInt("translog_batch_size", 100);
this.compress = componentSettings.getAsBoolean("compress", true);