forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned Shards from batches after allocation attempt and moved keys t…
…o ShardIds in ShardsBatch 1. Cleaning of shards from batches in shard started and shardFailed 2. ShardRouting Equals method have nodeId and unassignedInfo for equals. The state changes after assignment so removing it from batcher class becomes difficult Therefore added ShardsId as map key in Shardsbatch class and new EntryClass for it to hold the values for it Signed-off-by: Gaurav Chandani <chngau@amazon.com>
- Loading branch information
Showing
1 changed file
with
172 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters