UPDATEweaviate v1.41.0
Weaviate v1.41.0 hardens namespaces for multi-tenant clusters
Namespaces now have explicit states: reads and writes into an inactive namespace are refused, and object endpoints answer 422. Runtime reindex gains submit guards, and DB users can carry a time to live.
What changed in this release
30 checkpoints in 7 groups, organized by task from the official notes. Checkpoints do not count separate features or commits.
Namespaces and tenant isolation
- Object endpoints answer 422 instead of 500 for a suspended namespace.
- Data requests are refused when a collection's namespace is not active.
- Property, class and index changes are refused in a namespace that is not active.
- Shard unloads report their outcome, with background workers doing the unload.
- Aliases that cross namespaces are refused, and schema, alias and user listings no longer leak other namespaces.
- Replica movement and self-recovery are held in suspended namespaces, and the object cap applies to replicated writes.
Runtime reindex
- A node with 100k tenants starts in 6 s instead of 16 min when runtime reindex is enabled.
- Shard lookups at 1M tenants drop from ~45 hours to ~0.02 s per phase.
- Tenant and schema changes no longer stall during a large reindex: 8.7 s to 58 µs.
- Submits are refused while a target tenant is not HOT, and failed task records survive until a newer run.
- A restart mid-reindex no longer loses writes, and a partial reindex can be resubmitted.
Shard rebalancing (preview)
- Rebalance plans are recorded in the replication state machine as a ledger.
- Planning runs expose raft endpoints, and a measurement endpoint reports shard sizes per node.
- REST endpoints cover the plan journey from start to execution.
Filtering and queries
- Contains keys are built once per filter value.
- Each roaring-set key is hashed once for all segments' bloom filters.
- Slow-query records are bounded for filters with large value lists.
- Aggregations read once per segment, run in parallel, and spread across replica nodes.
Users and permissions
- DB users can carry a time to live.
- RBAC state is rebuilt from raft and policy.csv is removed.
- Every verb of a manage permission is required to see or edit a role.
- A role pattern using regex syntax needs an explicit wildcard to be granted.
Backup and replication
- A collection's files can be deleted at once even while a backup runs.
- Object listing is ~50% faster and inactive shard backups ~40% faster.
- Backup class and shard names that would escape the data dir are rejected.
- Replicated reads and vector search fail over off a recovering replica, and async replication runs in maintenance mode.
Modules and quantization
- Two rerank modules ship: reranker-openai and reranker-typesafeai.
- Reranking uses a stable sort, checks requests for every reranker, and covers text and image clients.
- hfresh works with multi-vector vectorizers, and low-volume tenants use zero memory.
- Quantizers gain rescoreFactor, and the automatic rescoreLimit for RQ 1-bit and BQ rises to 512.
On this page
- Release inventory
- This release turns stoppi…
- A suspended namespace ref…
- Runtime reindex
- Shard rebalancing in prev…
- ContainsAny builds keys i…
- DB users get a time to li…
- Collections can be delete…
- Two rerank modules ship
- The tenant boundary sits…
- From v1.40.8 to v1.41.0
- Release analysis
- Questions
- Sources & method
ContextThis release turns stopping one tenant into a state
Stopping one customer on a shared cluster means rolling back everything or deleting data by hand: the first hits everyone, the second is easy to miss. Changing a property's index type only reaches preview here, and a 100k-tenant restart takes 16 min.
v1.41.0 splits those moves into switches you accept one at a time: namespaces get a suspended state, runtime reindex gains submit guards, rebalancing drafts a plan before anything moves. Open it per collection and the blast radius stays there.
The release falls into 7 groups: namespaces and tenant isolation, runtime reindex, shard rebalancing, filtering and queries, users and permissions, backup and replication, modules and quantization. The figure below shows the spread; the sections follow in that order.
A suspended namespace refuses reads and writes; 422 on objects
- Inactive namespace: reads and writes are refused up front (PR 13437).
- Status code: object endpoints answer 422, not 500, so stop retrying them (PR 13439).
- Edges: cross-namespace aliases are refused and listings drop them (PR 13644, PR 13750).
Runtime reindex: 100k tenants start in 6 s, not 16 min
- Faster startup: a node with 100k tenants starts in 6 s instead of 16 min (PR 13799).
- Lookups: at 1M tenants a shard lookup phase drops from ~45 hours to ~0.02 s (PR 13874).
- Guards: submits are refused while a target tenant is not HOT, failed task records survive, and a restart loses no writes (PR 13701, 13702, 13755).
Shard rebalancing in preview: plan, measure, then move
- Ledger: each plan lands in the replication state machine (PR 13654, PR 13715).
- Measure: an endpoint reports shard sizes per node (PR 13739, PR 13887).
- One entry: REST covers plan to execution, so skip internal calls (PR 13800).
ContainsAny builds keys in batches; slow logs stay bounded
- Build once: Contains keys are built per filter value, not per shard (PR 13554).
- Hash once: each roaring-set key is hashed once for all segments (PR 13541).
- Bounded logs: slow-query records are capped for long value lists (PR 13553).
DB users get a time to live; RBAC state comes from raft
- Expiry: DB users can carry a time to live (PR 13422).
- State rebuilt: policy.csv is gone and RBAC state comes from raft (PR 13638).
- Grants: every verb of a manage permission is needed to edit a role (PR 13790, PR 13823).
Collections can be deleted mid-backup; shard backups ~40% faster
- Deletes: a collection's files go at once even during a backup (PR 13867).
- Speed: object listing ~50% faster, inactive shard backups ~40% faster (PR 13898, PR 13912).
- Paths: class and shard names escaping the data dir are rejected (PR 13788).
Two rerank modules ship; quantizers expose rescoreFactor
- More rerankers: reranker-openai and reranker-typesafeai, both with text and image clients (PR 13744, 13770, 13734).
- Rerank first: a stable sort runs before other additional properties, with request checks per reranker (PR 13734, 13406).
- Quantizers: rescoreFactor arrives, the RQ 1-bit and BQ rescoreLimit rises to 512, and hfresh takes multi-vectors (PR 13536, 13927, 13883).
The tenant boundary sits at a different layer per product
Stopping one customer, changing a property's index type, moving shards off a hot node: each lands at a different layer per product, and the wrong layer costs a migration. Cells state what docs say.
So which one: to make stopping a tenant a refusal on the request path, station view, not independently tested — only Weaviate's docs write a stopped tenant as a data-plane state; the other two docs describe no suspended state, which is not proof they cannot. If partitioning inside one collection is enough, Qdrant's is_tenant costs less; for online column add and backfill, Milvus 3.0.0 goes further.
Conversely, filtering by tenant field in the application works too: Qdrant takes is_tenant, Milvus a partition key — both change the query, neither changes cluster config; the boundary then lives in code anyone can bypass, and audits miss it.
How to read it: Qdrant and Milvus treat isolation as data layout, Weaviate's namespace as a control-plane object, so tenant counts do not convert. In the backup row, Milvus Snapshot is a point-in-time view, not a backup.
| Update | Weaviate v1.41.0 | Qdrant v1.20.0 | Milvus v3.0.0 |
|---|---|---|---|
| Tenant isolation | Namespace with a suspended state; reads and writes refused, 422 on objects | Payload partition per collection; is_tenant since v1.11.0; Qdrant Cloud caps a cluster at 1000 collections | Database, collection, partition, partition key; 64 tenants at database level |
| Index type at runtime | Alter Schema - Reindex in preview: double writes, per-tenant swap | Since v1.20.0 enable_hnsw updates a payload index in place (payload index, not vector index type) | 3.0.0 adds, backfills and drops columns online |
| Shard distribution | Rebalancing in preview: plan ledger, measurement endpoint | v1.20.0: 3+ nodes, few collections, 2 shards per node | Replicas move between resource groups by hand |
| Set containment | ContainsAny builds keys per filter value, one hash per key | v1.20.0 adds per-element payload indexes (nested) | JSON_CONTAINS_ANY, ARRAY_CONTAINS_ANY; sparse index on SINDI |
| Credentials | DB users carry a time to live; RBAC state from raft | Admin, read-only, per-collection keys; alt_api_key rotates | Create users and roles, grant privileges, then grant roles |
| Backup | Files deletable during a backup; inactive shard backups ~40% faster | v1.20.0: unique snapshot names, 60s download timeout | Snapshot is a point-in-time view, not a backup |
From v1.40.8 to v1.41.0: checks become state
This release turns the previous release's one-off boundary checks into state that keeps refusing. v1.40.8 is a patch release with no new features; it rejects boundary crossings: classless lookups, references outside a backup, replica file names outside a shard directory.
v1.41.0 turns the same boundaries into state: a suspended namespace refuses reads and writes, reindex submits have guards, and reads fail over while a replica recovers. Left column is v1.40.8, right this release.
The difference is testability: the older release fails one request at a time, so tests cover only the calls you thought of; here a suspended namespace keeps refusing, and a submit is refused while a target tenant is not HOT.
| Feature | v1.40.8 | v1.41.0 |
|---|---|---|
| Namespace and data requests | Classless lookups refused (PR 14063); isolation tests (PR 14096) | Refused when inactive (PR 13437); 422 on object endpoints (PR 13439) |
| Aliases and roles | role: prefixed IDs refused (PR 14058); tenant pattern # grants nothing (PR 14031) | Cross-namespace aliases refused (PR 13644); every verb of manage needed (PR 13790) |
| Backup path | Refs outside the backup rejected (PR 14051); restore takes the class index dir (PR 14052) | Names escaping the data dir rejected (PR 13788); files deleted mid-backup (PR 13867) |
| Classless endpoints | Env var and runtime config disable them (PR 13972); POST /v1/objects rejected (PR 13977) | Remaining endpoints deprecated (PR 13967) |
| Replication | Copy file names outside the shard dir refused (PR 14050) | Reads fail over off a recovering replica (PR 13938); async replication runs in maintenance mode (PR 13869) |
Release analysisShared clusters should upgrade now
Multi-tenant Weaviate teams feel this most: suspended namespaces, 422 and refused cross-namespace aliases change what a client handles, so retry policies and alerts follow. Teams at 100k tenants should schedule it; single-tenant clusters can wait.
Against Qdrant v1.20.0 and Milvus v3.0.0 the difference is where the tenant boundary lives: Qdrant partitions by payload, Milvus offers four levels, this release makes the namespace a control-plane object with states. For stopping a tenant, both docs offer application-side filtering or replica moves; station view, not independently tested: that adds a manual step.
Station view, not independently tested: enable runtime reindex on one non-critical collection, watch the submit guards and task records, then split 422 out of the 500 retry path. Read rebalance distribution with the measurement endpoint.
Keep three records: reindex task ids with target tenants, endpoints that returned 422, and rebalance ledger entries. This release declares no breaking changes; put that in the change ticket and let the records narrow an incident.
AIGenLab views
Not independently testedStopping a tenant on a shared cluster belongs in the data plane, not in client-side filtering.
Station view, not independently tested: comparing the Qdrant and Milvus documentation, both keep tenant isolation in the data layout, while this release makes the namespace a control-plane object with states.
Turn runtime reindex on for one non-critical collection first, watch the submit guards and task records, then move to large collections.
Station view, not independently tested: the announcement gives timings at 100k and 1M tenants but does not cover behaviour under mixed load.
While rebalancing is in preview, read the measurement endpoint only and keep it away from autoscaling.
Station view, not independently tested: the rebalance REST entry points and plan ledger are in preview and carry no stability promise.
Questions
Do I have to change my client to upgrade to v1.41.0?
Can I enable runtime reindex on a production collection right away?
Is semi-automatic shard rebalancing ready for production?
Official sources and scope
- Weaviate v1.41.0 release notes Every entry in this release, its PR numbers, and the timing comparisons the announcement states.
- Weaviate v1.40.8 release notes The previous-version column of the vertical table and the fact that it shipped no new features.
- Qdrant v1.20.0 release notes Qdrant's current state on in-place index changes, shard distribution and snapshot safety in the horizontal table.
- Qdrant: Configure Multitenancy Qdrant's three tenant-isolation approaches, the is_tenant index, and the default collection cap.
- Qdrant: Security and Access Control Qdrant's three API key types and its zero-downtime admin key rotation.
- Qdrant: Snapshots Qdrant snapshots cover one collection on one node, so a distributed setup needs one per node.
- Milvus v3.0.0 release notes Milvus's online column add and backfill, sparse index overhaul, Snapshot and Force Merge.
- Milvus: Implement Multi-tenancy Milvus's four multi-tenancy levels and the default 64-tenant cap at database level.
- Milvus: RBAC Explained Milvus grants privileges at collection, database and instance level, through roles assigned to users.
- Milvus: Create Users & Roles The order Milvus uses: create users and roles, then grant.
- Milvus: Filtering expressions The JSON_CONTAINS_ANY and ARRAY_CONTAINS_ANY operators in Milvus filter expressions.
- Milvus: Resource groups Milvus moves replicas between resource groups by hand to adjust distribution.
- Milvus: Snapshots overview Milvus states that a snapshot is not a substitute for backups, which go through Milvus Backup.
Dates beside sources indicate when we consulted them, not when the vendor released the update. Procedures are editorial guidance, not independently tested.