mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 23:15:04 +00:00
b2c4c323e1
Today we allow to shrink to 1 shard but that might not be possible due to too many document or a single shard doesn't meet the requirements for the index. The logic can be expanded to N shards if the source index shards is a multiple of N. This guarantees that there are not hotspots created due to different number of shards being shrunk into one.