Skip to content

Commit 68e2d36

Browse files
committed
Adjust bwc version for max_concurrent_file_chunks
Relates #36981
1 parent 65e42ab commit 68e2d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/indices/recovery/RecoverySourceHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public RecoverySourceHandler(final IndexShard shard, RecoveryTargetHandler recov
111111
this.logger = Loggers.getLogger(getClass(), request.shardId(), "recover to " + request.targetNode().getName());
112112
this.chunkSizeInBytes = fileChunkSizeInBytes;
113113
// if the target is on an old version, it won't be able to handle out-of-order file chunks.
114-
this.maxConcurrentFileChunks = request.targetNode().getVersion().onOrAfter(Version.V_7_0_0) ? maxConcurrentFileChunks : 1;
114+
this.maxConcurrentFileChunks = request.targetNode().getVersion().onOrAfter(Version.V_6_7_0) ? maxConcurrentFileChunks : 1;
115115
}
116116

117117
public StartRecoveryRequest getRequest() {

0 commit comments

Comments
 (0)