Files
Tim Visée c00e2aa7d5 Pin WAL acknowledgements from multiple places with pin guard (#10672)
* Rename `wal_keep_from` to `wal_ack_pin`

The parameter pins the WAL acknowledge, the new name says so.

* Support pinning the WAL acknowledge from multiple places at once

The WAL acknowledge had a single pin slot, a shared `AtomicU64` any second
user would have clobbered. Replace it with `WalAckPins`, holding any number
of live pins. The flush worker never acknowledges at or past the lowest of
them.

Taking a pin hands out a `WalAckPinGuard` that releases when dropped, so the
queue proxy shard no longer has to release it by hand. The registry holds its
pins weakly, which means dropping the guard is all it takes and a queue proxy
lost to an unwind can no longer stall the WAL acknowledge forever.

* Tests for the WAL acknowledge pins

* Debug assert that set does not move version backwards

* Update tests
2026-09-17 14:41:22 +02:00
..

Collection

Crate, which implements all functions required for operations with a single collection of points. Points within a collection should share the same payload schema and have same vector size. So that search requests could be performed over all points of a single collection.

Structure

Collection structure

Update process

Update process