5d38248afa
This commit improves the shard decision container class in the following ways: 1. Renames UnassignedShardDecision to ShardAllocationDecision, so that the class can be used for general shard decisions, not just unassigned shard decisions. 2. Changes ShardAllocationDecision to have the final decision as a Type instead of a Decision, because all the information needed from the final decision is contained in `Type`. 3. Uses cached instances of ShardAllocationDecision for NO and THROTTLE decisions when no explanation is needed (which is the common case when executing reroute's as opposed to using the explain API). |
||
---|---|---|
.. | ||
src | ||
build.gradle |