Skip to content

v2.1.1

  • v2.1.1
  • 4341f8e
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • v2.1.1
  • 4341f8e
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@ppodolsky ppodolsky tagged this 15 Oct 07:37
* Weight the partitions of a partitioned index with integer weights

A placement rule may give each partition a positive integer weight,
`documents*=2:5,3:5,4:4`, so a shard on a smaller disk receives fewer rows.
Partition i owns its slice of fnv1a64(primary key) % sum, with the weights
reduced by their greatest common divisor; routing is integer-only. Equal
weights reduce to all ones, which is exactly the existing fnv1a64 % n, so
unweighted rules and every existing generation keep their routing.

Batch and streaming writes, UpsertDocuments and DeleteDocuments all route by
the weights. Fractions, zero and weights on single-shard rules are refused at
startup; weighted rules are logged with each partition's exact share, and
GetTopology reports each partition's weight.

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

* Prepare 2.1.1

Releases weighted partitions of partitioned broker indexes.

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

* Update rustls to 0.23.46 for RUSTSEC-2026-0346..0349

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

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Assets 2
Loading