From 1ae5a3467faf7deb48abcd008762a1190b84328d Mon Sep 17 00:00:00 2001 From: kimchy Date: Thu, 18 Mar 2010 17:28:54 +0200 Subject: [PATCH] change default recovery buffer to 100k from 16k --- .../org/elasticsearch/index/shard/recovery/RecoveryAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/shard/recovery/RecoveryAction.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/shard/recovery/RecoveryAction.java index 7196c44ca8d..afea9078910 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/shard/recovery/RecoveryAction.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/shard/recovery/RecoveryAction.java @@ -107,7 +107,7 @@ public class RecoveryAction extends AbstractIndexShardComponent { snapshotTransportAction = shardId.index().name() + "/" + shardId.id() + "/recovery/snapshot"; transportService.registerHandler(snapshotTransportAction, new SnapshotTransportRequestHandler()); - this.fileChunkSize = componentSettings.getAsSize("fileChunkSize", new SizeValue(16, SizeUnit.KB)); + this.fileChunkSize = componentSettings.getAsSize("fileChunkSize", new SizeValue(100, SizeUnit.KB)); logger.trace("Recovery Action registered, using fileChunkSize[{}]", fileChunkSize); }