Files
Andrey VasnetsovandClaude Opus 5.5 64b5ae0ea3 Default to 2 shards per node in 3+ node clusters with few collections (#11255)
* Default to 2 shards per node while collections are fewer than nodes

Auto-sharded collections created in a cluster without an explicit shard
number get 2 shards per node while the cluster holds fewer collections
than nodes, and 1 per node otherwise. Spare shards let new nodes take
whole shards instead of resharding, which re-indexes the data. Clusters
with many collections keep the previous shard count.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Don't document the default shard number logic in the API

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Keep one shard per node in clusters of fewer than 3 nodes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* Rewrap default_shard_number_per_node doc

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:29:34 +02:00
..
2025-07-28 13:27:03 +02:00
2024-07-17 09:24:35 +02:00
2025-07-17 14:32:18 +02:00
2025-07-17 14:32:18 +02:00
2025-07-17 14:32:18 +02:00