Removing nodes and downscaling a Qdrant cluster

Shrinking a self-hosted Qdrant cluster is a data-safety operation, not a scheduling change. This page explains how to move every shard off a peer, confirm replica counts, and remove the peer from consensus without losing data.

On this page

Why removing a Qdrant node needs a planned procedure

Removing a Qdrant node is an operation on data placement, not just on a server. A self-hosted cluster is usually over-provisioned after a migration, a load test, or a retired tenant, or a node has to leave because its hardware is failing or being reassigned. In distributed mode, Qdrant keeps cluster topology and collection structure under the Raft consensus protocol, while the data itself lives in shards, and each shard can have replicas on other peers. Removing a peer that still holds the only copy of a shard drops that data from the cluster, and nothing in the engine stops you from doing it. The procedure therefore has to confirm, shard by shard, where each copy lives before the peer is touched.

Downscaling is a planned operational task that your own team or a partner carries out, and the cost sits in that work. The open-source engine is licensed under Apache-2.0 and is free to self-host, so the expense is engineering time, maintenance windows, validation runs and the extra capacity needed while shards move between nodes. Teams should confirm the minimum node count they intend to keep, since the distributed deployment docs recommend at least three nodes for production so quorum survives a failure. A cluster that drops below that floor during downscaling loses the margin it was designed to have, so the target size should be agreed before any node is drained.

The rest of this section sets out the checks that make a removal safe. Decide the target topology, confirm replica counts for every collection, move shards off the departing peer, and only then remove the peer from consensus. Each step has a verification point, and skipping one is the usual way shards are lost. Confirm the exact commands and transfer behavior for your release against the Qdrant distributed deployment docs before you run anything on production data.

How a peer leaves a Qdrant cluster safely

The procedure starts with confirming cluster state, then moves every shard replica off the target peer before anything is removed. Before removing the peer from consensus, check that each shard still has a copy on another node. If any shard lacks a copy elsewhere, stop: removing the peer then risks losing that shard's data. Only after the replica check passes should the peer leave Raft consensus, and only then should the host be decommissioned, with its storage kept until the cluster is verified healthy.

Removal path for a peer, with a stop branch when any shard lacks a remaining copy.

Steps to remove a node without losing shards

This sequence moves every shard off a peer, confirms that no data depends on it, and only then removes it from the cluster, so the remaining peers keep a complete, searchable copy of each collection. Each step ends with a check you can record before moving on.

  1. Inventory the cluster and collections

    Before changing anything, query the cluster state and collection info through the REST API to list every peer, every collection, and the shards each peer holds. Record the peer ID of the node you plan to remove, the collection shard counts, and the current replication factor for each collection. Confirm the exact cluster info and collection info endpoints against the Qdrant distributed deployment docs for your version. This step is done when you have a written inventory that shows which shards live on the target peer and which replicas are in an Active state.

  2. Confirm every shard has a copy elsewhere

    For each collection, check that every shard on the target peer has at least one replica on another peer in an Active state. A shard with only one copy, on the peer you intend to remove, cannot be moved without data loss unless you first add a replica elsewhere. Also confirm the replication factor is at least 2 for the collections you are shrinking, since changing it on a self-hosted cluster does not take effect later. The check is complete when every target-peer shard has a healthy replica on a different peer, and any gaps are resolved before you continue.

  3. Confirm the remaining peers can hold the load

    Check disk headroom and memory on the peers that will stay in the cluster, because they will receive the shards from the target peer. Confirm that the cluster will still have enough peers to meet your intended quorum and replication layout after removal. Qdrant recommends at least three nodes for production so quorum survives a node failure, so if removal would drop you below that baseline, confirm the consequence with your architecture plan first. This step is done when you have written evidence that the remaining nodes have capacity and that the post-removal layout matches your design.

  4. Move shards off the target peer

    Use the move shard operation through the REST API for each shard on the target peer, choosing the transfer method the distributed deployment docs document for your version. Move one shard at a time, specifying the source peer, the destination peer, and the collection. Wait for each transfer to finish before starting the next, and watch the cluster state between moves. Confirm the exact endpoint and transfer options in the documentation, since names and supported methods depend on the release you run. This step is done when every move reports completion and no shard is in a transfer state.

  5. Verify the target peer holds no shards

    Query the cluster state again and check the target peer entry in each collection. It should list no local shards and no replicas in any state, and every shard in each collection should still show the expected number of Active replicas on the remaining peers. If any shard is still assigned to the target, do not remove the peer. Investigate the stuck transfer, correct it, and repeat the check. The step is complete when the output for the target peer is empty across all collections.

  6. Remove the peer from consensus

    With the target peer empty, remove it from the Raft cluster using the peer removal operation described in the distributed deployment docs for your version. Run this from a healthy peer and specify the target peer ID exactly as recorded in step one. Removing a peer that still holds shards, or removing the wrong ID, can drop data or break consensus, so make sure the ID matches your inventory. Then stop the process on the removed host only after the cluster has accepted the removal. This step is done when the cluster state no longer lists the peer.

  7. Verify quorum and search results

    After removal, confirm that the cluster reports a leader and that all remaining peers agree on topology. Check the collection info for each collection to confirm shard counts and replica states are as expected, then run representative search and count queries and compare results with the numbers recorded in step one. Check the logs of the remaining peers for consensus or replica errors over a period of normal traffic. This step closes the procedure when quorum is stable, replica states are Active, and search results match your baseline.

Which removal approach fits which cluster

This table compares three ways to remove a Qdrant peer: moving shards off it before removal, relying on replicas that already exist on other peers, and rebuilding into a smaller cluster. Read each row against your replica counts, free disk and tolerance for downtime, and treat the main risk as the thing to rule out first.

ApproachWhen it fitsWhat it requiresMain risk
Move shards manually, one collection at a timeCollections are replicated and you can afford to move each shard off the target peer before it leavesReplica count of at least 2 on every shard, spare disk on the remaining peers for the incoming copies, and time to move each shard in turnMoving the last copy of a shard or skipping a collection, which loses data when the peer is removed
Rely on replicas already on other peersEvery shard already has enough copies on the peers that stay, so the departing peer holds only redundant dataReplication factor of at least 2 set at collection creation, and confirmation that each shard's replicas are active on remaining nodesReplicas that are not in an active state look present but cannot take over, so the cluster can lose data during removal
Rebuild into a smaller new cluster with snapshots or the migration toolThe target cluster is small, the source is being retired, or shard moves on the live cluster are too riskyA new cluster that meets the three-node production minimum, disk for the copied data, and snapshot restores only to the same or next minor versionDowntime or write gaps during cutover, and version mismatches that block snapshot restore
Shrink below three nodesOnly for a short test or a non-production environmentAccepting that a two-node or smaller cluster cannot keep quorum through a node failureLosing quorum on a single failure, which is why the three-node baseline exists for production

Why the Helm chart gives no downscaling protection

The community Qdrant Helm chart does not protect a cluster from a scale-down, and this is the most important thing to understand before you reduce the replica count of the StatefulSet. The Qdrant installation documentation lists automatic shard rebalancing as an enterprise feature that the Helm chart lacks, so Kubernetes will remove a pod without moving the shards it holds. A scale-down through the chart is a pod deletion, not a Qdrant topology change. If the departing peer still holds the only copy of a shard, that data is lost from the cluster, and the chart gives no warning.

The risk comes from the order of operations. Reducing replicas first and moving shards afterward leaves a window in which the cluster has fewer copies than the collection expects, and a second failure during that window can cost data. Before any replica count changes, the team should confirm, for every collection, that each shard on the target peer has an active copy on another peer and that the collection's replication factor still holds after the move. The exact commands and cluster state fields to check should be confirmed against the version you run in the distributed deployment documentation, since the API surface changes between releases.

Because the chart will not enforce these checks, the guardrails are your responsibility. Write a runbook that starts with the move-and-verify steps and ends with the pod count change, and make it the only sanctioned path. Add a pre-check script that refuses to proceed while any shard is not active or any peer holds a shard with no other copy. Use a Kubernetes admission policy, or a pipeline gate on Helm upgrades, to block changes that lower the replica count unless the pre-check has passed in the same change window. Test the runbook on a non-production cluster with the same node count and collection layout, and have a second engineer sign off on each scale-down.

Where downscaling goes wrong

Removing a node from a Qdrant cluster touches shard placement, consensus, storage and client routing at the same time. Each risk below fails quietly until the moment it matters, so the check for each one belongs before the peer leaves the cluster.

Shard lost with its only copy

A shard with no replica on the remaining nodes disappears from the collection when its peer is removed. The symptom is missing points in search results and a shard that never comes back. Before removal, list each collection's shards and confirm every shard on the target peer has a copy on another node, and that the copy is in an active state, not a partial or dead one.

Distributed deployment docs

Quorum lost in a three-node cluster

A three-node cluster keeps Raft quorum only while two nodes stay up. If one node is already down and a second is removed, the cluster loses the ability to commit topology changes. The symptom is a cluster that refuses further changes. Confirm all remaining nodes are healthy and reachable before starting, and treat a three-to-two reduction as a planned, short window rather than an open-ended change.

Too few copies after removal

Removing a node can leave some shards with fewer replicas than the replication factor expects, and that replication factor does not rise on its own. The symptom is a single surviving copy that becomes a single point of failure. Count replicas per shard after the move and compare them with the replication factor each collection was created with, then decide whether to add a replica before the next failure.

Storage exhausted on remaining nodes

Shards moved off the removed peer land on the survivors, which can push their disks toward full. The symptom is writes failing or the optimizer stalling on a node with little headroom. Compare free disk on each remaining node with the size of the shards being moved, and keep headroom for segment rewrites during and after the transfer. Storage limits differ by deployment, so confirm them with your own monitoring.

Kubernetes scale-down deletes the wrong pod

Lowering the replica count of a StatefulSet removes the highest-ordinal pod, which may not be the peer you drained. The symptom is a healthy node with live shards disappearing while the drained one keeps running. Drain and confirm the target peer first, then check the pod name and ordinal that the scale-down will remove. The Helm chart does not protect against this, so verify the pod before scaling.

Clients still route to the removed peer

Application clients and load balancers that still list the removed node's address send requests to a host that no longer serves the cluster. The symptom is intermittent errors and timeouts after the change. Update client configuration and balancer targets, then confirm health endpoints on the remaining nodes and watch for requests reaching the retired address in logs.

Questions teams ask before removing a Qdrant node

What does a Qdrant downscale project cost and what drives the price?

The cost depends on the written scope, and no fixed figure applies to every cluster. Most of the price comes from the time spent checking shard placement, moving shards off the peer that will leave, confirming replica counts and rehearsing the change in a test environment. The main drivers are the number of nodes and shards, how much data each node holds, whether the team already knows Qdrant's Raft-based cluster behavior, and whether a staging cluster must be built first. A one-time assessment and runbook is separate from any recurring retainer for later upgrades or testing. Ask for a quote that names each of these inputs and states what is included in the change window.

How long does removing a node from a Qdrant cluster take?

The duration depends on how much data must move and how many shards sit on the node being removed. Shard transfers copy data between peers, so larger collections and slower disks extend the work, and each shard must be checked before the peer leaves consensus. Preparation, a rehearsal on a non-production copy and a verification pass add time that is easy to underestimate. Qdrant's own distributed deployment guidance is the reference for the topology rules, but it does not give a general duration. Ask the vendor or partner to base the schedule on your collection sizes and shard counts, and to show the steps that run before and after the change window.

What does the client need to provide for a downscale engagement?

The work needs administrative access to the cluster and the infrastructure that hosts it, a defined change window, and current backups before any shard is moved. Teams should provide a list of collections, shard and replica counts, client traffic patterns and the owners who approve the change. A test environment that mirrors the cluster's topology is strongly advisable so the procedure can be rehearsed. Confirm that a recent collection snapshot exists and can be restored, because snapshots can only be restored to clusters on the same or the next minor version. Ask what access the provider needs and how it is logged, since Qdrant does not require authentication by default on self-deployed instances.

Can an internal platform team remove a Qdrant node without outside help?

Yes, a team with Kubernetes or Linux operations experience and some Qdrant knowledge can perform a downscale, provided it follows the documented procedure carefully. The risky parts are moving every shard off the peer, confirming that each collection still has enough replicas, and removing the peer from consensus in the right order. Teams without a tested runbook or without a staging cluster should weigh the risk of data loss against the cost of outside review. Internal teams should also check whether the Helm chart includes downscaling protection, because it does not, so a scale-in can remove a node that still holds data. A short peer review of the runbook is a low-cost middle option.

When should a team hire an outside partner for a Qdrant downscale?

Hire outside help when the cluster holds production data that cannot be restored quickly, when no one on the team has removed a peer from a Raft-based cluster before, or when the change must fit a tight compliance or audit requirement. Partners are also useful when the cluster runs on Kubernetes without an enterprise operator, since the community Helm chart lacks automatic shard rebalancing. An outside team can plan the sequence, rehearse it, document evidence for auditors and stay available for rollback questions. Be clear about what the partner will not do, such as taking responsibility for data loss caused by changes made outside the agreed scope.

What should a fixed-scope quote for removing a Qdrant node list?

A fixed-scope quote should state the cluster being changed, the node being removed, the collections in scope and the target topology after the change. It should list each deliverable, such as an inventory of shards and replicas, a backup verification, a rehearsal in a non-production environment, the change runbook, the rollback plan and a post-change verification report. The quote should also name the change window, the client responsibilities, the access required and any excluded work, such as application changes or re-embedding data. Ask for timelines tied to those deliverables and for the terms that apply if the rehearsal shows the planned change is unsafe.

Which checks confirm a Qdrant cluster is safe after a node is removed?

After the change, confirm that every collection still meets the replication factor you planned, that no shard remains assigned only to the removed peer, and that the cluster reports healthy peers through the documented endpoints. Compare point counts per collection against the values recorded before the change, and run representative searches to confirm results. Check that clients reconnect to the remaining nodes and that metrics and logs show no sustained errors. Keep the pre-change snapshots until these checks pass. Ask the team that performs the work to document each check and the expected result so your engineers can repeat them later.

How DeployOpen plans and runs Qdrant cluster changes

DeployOpen approaches removing nodes and downscaling a self-hosted Qdrant cluster as a scoped change with written checkpoints, not a single command. We confirm what each peer holds, move shards off it, verify replica counts and then remove the peer from consensus, all inside infrastructure you control.

How we scope

  • We inventory the cluster's nodes, collections, shard counts and replication factors before any change is agreed.
  • The written scope names which peer leaves, the target node count and the data and consistency checks that must pass.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support and cluster upgrades can be covered by a retainer if the cluster needs continued care after the change.

How we build

  • We write a step-by-step runbook covering shard moves, replica checks, peer removal and rollback for your collections.
  • We rehearse the procedure on a non-production copy of the cluster so the team sees each state change first.
  • We check that remaining nodes hold enough replicas and that quorum holds before the departing peer is touched.
  • We document the Helm chart gap: it has no downscaling protection, so the runbook includes manual guardrails your team operates.

How we hand over

  • You receive the runbook, the pre-change and post-change checks, and a record of every shard move and peer removal.
  • We walk your platform and operations team through the procedure and the failure cases they must watch for.
  • Verification evidence, including collection state and replica counts after the change, is delivered with the handover.
  • Monitoring and alerting adjustments needed for the smaller cluster are documented with owners named by your team.

How we support

  • Support can be added after handover for upgrades, node replacements or a later scale-out change.
  • Retesting after each change confirms the cluster still meets the availability and recovery expectations in the scope.
  • Continuous testing and security reviews of the Qdrant deployment are available as retainers.
  • Questions about Qdrant version compatibility should be confirmed against the official release notes before any change.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.