Skip to content

Commit

Permalink
Fixed build failure after main merge
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Aug 1, 2023
1 parent 5ea0794 commit 3e442bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public HashMap<ShardRouting, AllocateUnassignedDecision> makeAllocationDecision(
/**
* Below code is very similar to {@link org.opensearch.gateway.PrimaryShardAllocator} class makeAllocationDecision,
* only difference is that NodeGatewayStartedShards object doesn't have the DiscoveryNode object as
* BaseNodeResponse. So, DiscoveryNode reference is passed in Map<DiscoveryNode, NodeGatewayStartedShards> so
* BaseNodeResponse. So, DiscoveryNode reference is passed in Map&lt;DiscoveryNode, NodeGatewayStartedShards&gt; so
* corresponding DiscoveryNode object can be used for rest of the implementation. Also, DiscoveryNode object
* reference is added in DecidedNode class to achieve same use case of accessing corresponding DiscoveryNode object.
* @param unassignedShard unassigned shard routing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.opensearch.cluster.routing.allocation.RoutingAllocation;
import org.opensearch.cluster.routing.allocation.decider.Decision;
import org.opensearch.common.collect.Tuple;
import org.opensearch.common.unit.ByteSizeValue;
import org.opensearch.core.common.unit.ByteSizeValue;
import org.opensearch.common.unit.TimeValue;
import org.opensearch.gateway.AsyncBatchShardFetch.FetchResult;
import org.opensearch.index.store.StoreFileMetadata;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ protected NodesGatewayStartedShardsBatch newResponse(
* This function is similar to nodeoperation method of {@link TransportNodesListGatewayStartedShards} we loop over
* the shards here to fetch the shard result in bulk.
*
* @param request
* @param request request
* @return NodeGatewayStartedShardsBatch
*/
@Override
Expand Down

0 comments on commit 3e442bb

Please sign in to comment.