File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/opensearch/gateway
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ protected boolean shouldSkipFetchForRecovery(ShardRouting shard) {
88
88
return false ;
89
89
}
90
90
91
- protected Runnable getShardCancellationAction (
91
+ protected Runnable cancelExistingRecoveryForBetterMatch (
92
92
ShardRouting shard ,
93
93
RoutingAllocation allocation ,
94
94
Map <DiscoveryNode , StoreFilesMetadata > nodeShardStores
@@ -174,7 +174,7 @@ public void processExistingRecoveries(RoutingAllocation allocation) {
174
174
AsyncShardFetch .FetchResult <NodeStoreFilesMetadata > shardStores = fetchData (shard , allocation );
175
175
Map <DiscoveryNode , StoreFilesMetadata > nodeShardStores = convertToNodeStoreFilesMetadataMap (shardStores );
176
176
177
- Runnable cancellationAction = getShardCancellationAction (shard , allocation , nodeShardStores );
177
+ Runnable cancellationAction = cancelExistingRecoveryForBetterMatch (shard , allocation , nodeShardStores );
178
178
if (cancellationAction != null ) {
179
179
shardCancellationActions .add (cancellationAction );
180
180
}
You can’t perform that action at this time.
0 commit comments