mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
Today, the individual allocation deciders appear in random order when initialized in AllocationDeciders, which means potentially more performance intensive allocation deciders could run before less expensive deciders. This adds to the execution time when a less expensive decider could terminate the decision making process early with a NO decision. This commit orders the initialization of allocation deciders, based on a general assessment of the big O runtime of each decider, moving the likely more expensive deciders last. Closes #12815