mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
This commit moves several allocation decider related inner classes into their own top-level class, in order to use more easily in the allocation explain API. This commit also renames some of those decision related classes to more suitable names. This is simply a cosmetic change - no functionality changes with this commit whatsoever. To summarize the changes: 1. ShardAllocationDecision renamed to AllocateUnassignedDecision 2. RelocationDecision moved to a top-level class 3. MoveDecision moved to a top-level class 4. RebalanceDecision moved to a top-level class 5. ShardAllocationDecisionTests renamed to AllocateUnassignedDecisionTests 6. NodeRebalanceResult moved to a top-level class 7. ShardAllocationDecision#WeightedDecision moved to a top-level class and renamed to NodeAllocationResult.