mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
bring back the file chunk size in recovery to 100kb from 500kb
This commit is contained in:
parent
b6277ac14d
commit
36be13ffb3
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user