Upgrading Qdrant with a blue-green cluster

A parallel green cluster lets you test a large Qdrant version jump on real data and switch endpoints with a rollback path. This page covers the copy method, write handling, validation and effort drivers.

On this page

When a Qdrant upgrade justifies a blue-green cluster

A blue-green cluster is a parallel copy of your Qdrant deployment running on the target version, loaded with your data and then switched into service by changing the endpoint and API key in your application. Use it when your self-hosted team is several minor versions behind, or when the jump is large enough that you cannot trust an in-place change without testing it on real data first. Qdrant's own blue-green tutorial cites version upgrades tested on real data, using an example of moving from 1.15 to 1.18, and resharding as a second reason to run a parallel cluster. The GitHub releases page lists v1.19.2, published October 5, 2026, following v1.19.0 on August 5, 2026, so confirm which target you are moving to before you size the green cluster.

The main reason is the limit on snapshot restore. Qdrant snapshots from one cluster can be restored only to clusters running the same minor version or the next minor version. If your data sits on 1.15 and the target is 1.18, a snapshot cannot take you there in one step, so you need a path such as the Qdrant Migration Tool or a staged set of restores. A single-node, in-place upgrade also has no fallback: once the container runs the new version and writes arrive, reverting means restoring from a backup taken before the change. A parallel cluster keeps the old version serving traffic until the new one has passed your checks, so rollback is an endpoint change rather than a data recovery.

Before committing, confirm three things: the version gap between your current and target releases, whether your team needs a second environment anyway (for example for resharding), and how much write traffic must be captured during the copy. The write window and the cost of running two clusters at once are the main drivers of effort, so ask any partner to scope both explicitly. Your application must also be able to hold its API key and endpoint in configuration, because the cutover depends on it.

What changes between the source and target Qdrant versions

This table lists the Qdrant changes that most often affect a blue-green move, with the impact on the parallel cluster and the action to take before cutover. Read each row against your current source version, since a feature added before your source release needs no migration work. Treat the table as a starting list: the team must confirm every breaking change and deprecation in the target release notes before cutover.

ChangeImpact on the green clusterAction needed
Admin and read-only API keys and TLS for REST and gRPC (v1.2.0)Green cluster can enforce keys and encryption, so clients must send the right key and use TLSCreate separate admin and read-only keys on green, then update each application's endpoint and key settings
JWT-based access control with per-collection read or write permissions (v1.9.0)Tokens scoped to collections on blue may not map one to one onto green's access setupRecreate each token policy on green and test read and write calls for every collection
Snapshots stored in S3-compatible storage (v1.10.0)Snapshot location and credentials become part of the copy path if you transfer through object storageConfirm the bucket, credentials and snapshot restore path work from blue to green before data loading
JSON audit logging of authenticated API operations (v1.17.0)Green starts logging authenticated operations, which changes what your log pipeline receivesEnable audit logging on green, check log volume and storage, and confirm your monitoring reads the new format
Memory tier change replacing on_disk settings (1.19)Collection configs using on_disk, on_disk_payload or always_ram are not converted automaticallyReview each collection config on green and set memory tiers explicitly before validating search results
Other breaking changes or deprecations in the target release notesUnknown until the release notes are read against your collection configs and client callsAdd a row for each confirmed item and have the team sign off against the release notes before cutover

How the green cluster copies data from blue

The green cluster can receive data from blue in two ways, and the choice shapes how much of the copy you handle by hand. The first is collection snapshots, which are tar archives of one collection taken on one node. A snapshot can be restored only to a cluster running the same minor version or the next minor version, so a large jump such as the 1.15 to 1.18 example in Qdrant's blue-green tutorial cannot rely on a single snapshot restore from the old release. Full-storage snapshots work only on single-node deployments, so a distributed blue cluster needs collection-level handling: you snapshot each collection, move the archives, and restore them one by one into the green cluster, then confirm point counts and payload fields for each. The second method is the Qdrant Migration Tool, which streams data in batches, resumes interrupted runs and reads from a fixed list of sources including Qdrant-to-Qdrant paths only through the vendors it supports. Confirm in the Qdrant migration tool documentation whether your blue version is a supported source before you plan around it.

Green sizing starts with the two distributed settings that decide how each collection lands on the new nodes. Qdrant's distributed deployment guidance recommends at least three nodes for production so quorum survives a node failure, and a shard count that is a multiple of the node count. A replication factor of 2 keeps a second copy of each shard and doubles storage, so the green cluster needs roughly twice the disk of the data it holds. Record the blue shard count and replication factor for every collection, then decide whether green keeps them or changes them. Changing the shard count during a copy is a resharding decision, not a copy setting, so make it a separate, tested step. Ask your team to confirm that the green nodes meet the storage rules in the installation docs, which require block-level storage with a POSIX-compatible file system and forbid NFS or S3 as primary storage.

How blue, green and the application connect during cutover

The cutover starts with the application writing to blue, the live cluster. A copy of the collections moves to green by snapshot or the Qdrant Migration Tool, and writes made during the copy must be replayed before validation. Validation compares results on green against blue. The decision point sits before the final switch: either freeze writes briefly to close the gap, or accept a documented gap. Once green passes, the application changes its endpoint and API key to green. If results drift after the switch, the same change pointed back at blue is the rollback path.

Phases of a blue-green Qdrant cutover, with the write-handling decision point and rollback path.

What to prepare before the copy starts

Most blue-green failures start before any data moves, in backups nobody tested, collections nobody listed and a green cluster that is reachable from places it should not be. The six checks below are the inputs the copy depends on, so each one should be finished and signed off before the migration window opens.

Verified backups of every collection

Take a collection snapshot of every collection on blue and confirm each archive is stored off the node that produced it. A snapshot you have never restored is only a file, so restore one into a scratch cluster and check point counts and a sample of search results. Keep blue untouched until green is validated, because it is your rollback path.

Snapshots docs

Inventory of collections and aliases

List every collection, its vector size and distance metric, its shard and replication settings, and every alias the application resolves. Record which services call each collection and with which client SDK version. This list defines the copy scope and tells you which application configs must change at cutover.

Payload indexes and collection configs

Export each collection's payload index definitions and quantization and HNSW settings, then compare them with the green targets. Indexes are not always carried over by every copy method, so confirm each one exists on green before you run query checks. Filtered queries that were fast on blue can become slow or fail if an index is missing.

API keys and JWT rules

Define the admin and read-only API keys for green, and write down which JWT permissions each application needs per collection. Do not copy blue's keys into green by habit, since keys should be rotated as part of the cutover. Confirm that the application can read the new key from its secret store before the switch date.

Network and TLS setup for green

Qdrant listens on all network interfaces and has no authentication by default, so green must be restricted at the network layer before it holds production data. Limit access to the migration host and application subnets, enable TLS for REST and gRPC, and confirm that no public route reaches the ports. Scan green from outside its allowed network to prove the restriction works.

Storage and a production-sized test copy

Confirm that green runs on block-level POSIX storage on SSD or NVMe, not NFS or S3, and that disk has room for the copy plus its snapshots. Then rehearse the full copy in a test environment loaded with a dataset of production volume, so timing and disk growth are measured rather than guessed.

Installation docs

Blue-green upgrade sequence with checks and rollback points

This sequence moves a Qdrant workload to a parallel green cluster on the target version, proves the copy matches blue, and switches traffic only after validation. Blue stays intact until the rollback period closes, so every step has a defined way back.

  1. Provision the green cluster on the target version

    Build a separate Qdrant cluster on the target minor version in the same infrastructure, using the same topology plan as blue where possible, including node count, shard count and replication factor. Keep blue untouched and running. The step is done when the green cluster reports healthy on every node, the version matches the target, and the security settings (API keys, TLS, network exposure) match or exceed blue. Rollback point: green is disposable at this stage, and blue is unaffected.

  2. Load each collection into green

    For each collection, copy the data from blue into green using either a collection snapshot restored on the green cluster or the Qdrant Migration Tool. Snapshot restores require the target cluster to run the same or the next minor version as the source, so confirm that compatibility before you start. Record the collection configuration, vector settings and payload indexes for each collection so you can compare them later. Rollback point: discard the green collection and reload it, since blue still holds the source data.

  3. Capture or replay writes made during the copy

    Blue keeps receiving writes while the copy runs, so decide how those changes reach green before cutover. Options include dual-writing from the application to both clusters during the copy window, or replaying the writes logged by your application into green after the bulk load. Confirm with your application team which approach fits your write pattern, and check that the replay covers updates and deletes as well as inserts. The step is done when a final delta has been applied and the write path is documented. Rollback point: while dual-write is active, blue remains the system of record.

  4. Validate counts, payloads and search results

    Compare each green collection against blue. Check point counts, a sample of payloads field by field, payload index presence, and the results of a fixed set of representative queries, including filtered and hybrid queries if your application uses them. Expect small ranking differences only where the index or quantization settings differ, and investigate any difference in the top results. The step is done when counts match after the final delta, the sampled payloads match, and the agreed query set returns results your application owners accept. Rollback point: fix the gap on green or stay on blue.

  5. Compare query latency under load

    Run the same query workload against blue and green and compare latency and error rates at the percentiles your service levels use. Use realistic query patterns from your logs, not a single synthetic query, and run the test long enough for caches and optimizers to settle. Confirm that the green cluster has the memory and disk headroom it needs for the new version, since a performance regression can surface only under load. The step is done when green meets the latency targets you set beforehand. Rollback point: tune or resize green, or keep blue serving.

  6. Switch endpoint and API key in a controlled window

    Change the application's Qdrant endpoint and API key from blue to green in a planned change window, following your change process. Qdrant's own blue-green guidance describes cutover as changing the endpoint and API key in the application, so keep both values in configuration you can revert in one change. Stop dual-writes at the same moment so no write lands on the wrong side. The step is done when the application reports successful queries and writes against green and blue receives no new traffic. Rollback point: revert the endpoint and key to blue, then restore dual-write if green has taken writes that blue must receive.

  7. Monitor green and hold the rollback path

    Watch green's health, error rates, latency, memory and disk, and application-side query errors for the period you agreed before the change. Compare these against the baseline you took on blue. Keep blue running, read-only if your process allows, so a rollback does not require a rebuild. The step is done when the agreed observation period ends without a rollback trigger. Rollback point: if green fails during this period, return the endpoint and key to blue, but writes accepted by green must be reconciled first.

  8. Retire blue after the rollback period

    When the rollback period closes, take a final backup of green and record the cluster configuration and version. Only then decommission blue, following your data retention rules, and remove its credentials and network exposure. Record the cutover evidence (validation results, latency comparison, change ticket and final snapshot location) for your change and audit records. The step is done when blue is removed, its keys are revoked, and the evidence is filed. Rollback point: after this step, reverting means restoring from the final green snapshot, so confirm backup restore works first.

How to validate results and keep a rollback path

Validation decides whether green can take traffic, and the rollback plan decides what happens to data written after the switch. Compare blue and green on the same inputs before cutover. Start with point counts per collection, then run a fixed set of sample search and recommendation queries against both clusters and compare the returned IDs and scores. Pin the query vectors, limits and filters so the comparison is repeatable, and store the results from each run. Add filtered queries that use the payload fields your application depends on most, because a missing payload index or a changed filter behavior often shows up there first. Confirm the exact way your application selects the endpoint and API key (for example, a configuration value or environment variable that holds the cluster URL and key) and test that the switch changes both values together. Confirm these details against the Qdrant blue-green tutorial and your own configuration, not from memory.

Decide the rollback triggers before cutover, not during the incident. Typical triggers are count mismatches that the copy process cannot explain, sample queries whose top results diverge beyond the tolerance your team agreed on, filtered queries that return wrong or empty sets, and a rise in client errors or latency after the endpoint change. Keep blue in a writable state for a defined period after cutover. If blue stays writable, writes accepted on green after the switch will not appear on blue unless you sync them. If blue is set read-only during cutover, the rollback reverts to an older dataset, so the team must accept that every write since the switch is lost or must be replayed. Choose one of these options in writing, with an owner who can make the call.

Plan the reconciliation path before you need it. Record the time of the switch, the last write timestamp each application sends to green, and how those writes would be replayed to blue, either from application logs or from a queue. Ask your team to rehearse one rollback in a staging environment and time how long the endpoint and key switch takes. Keep the blue cluster and its snapshots until the validation window closes and your team signs off. Qdrant documents snapshot restore compatibility limits by version, so check the Qdrant snapshots documentation before you rely on a snapshot as your fallback.

How the environment changes the work

On a single Docker or Compose host, the green side is usually a second container on separate storage, loaded from a full-storage snapshot. Full-storage snapshots work only on single-node deployments, so this is the path where the whole instance can be copied in one step. The green container still needs block-level storage with a POSIX-compatible file system, because network file systems and object storage are not supported for Qdrant data.

  • Snapshot scope: Confirm that the full-storage snapshot covers every collection and alias you need before you rely on it.
  • Version gap: Snapshots restore only to the same minor version or the next minor version, so a large jump needs staged snapshots or the Migration Tool.
  • Port and key separation: Run green on different ports with its own API keys so that application traffic is not sent to it early.
  • Storage headroom: Check free disk on the green host for the full copy plus the expected write volume during the copy.
  • Rollback target: Keep the blue container and its volume untouched until green has passed validation.

Before cutover, confirm that the endpoint and API key change is a single configuration step in every application that uses this instance.

What makes a blue-green upgrade take longer

This table lists the factors that stretch a blue-green Qdrant upgrade and the effect each one has on effort. Read it before estimating the work, then measure the first item in each row so the plan rests on your own data rather than assumptions. The main takeaway is that data volume, write rate and client count usually decide the timeline more than the version gap itself.

Effort driverEffect on effortWhat to measure first
Data volume and collection countLarger collections take longer to copy, verify and reindex on the green cluster, and each collection needs its own check.Total points, vector size and payload size per collection, plus the number of collections to move.
Client applications and SDKsEvery service that stores the endpoint and API key must be found, changed and tested before cutover.An inventory of services, configuration files and secrets that reference the Qdrant endpoint or key.
Custom integrations using new query featuresCode that relies on query APIs added in newer releases must be rewritten or retested against green before switching.Which query calls, filters and search options your applications use, and which of them are absent on blue.
Write rate during the copyHigh write volume means more change capture, more reconciliation and a harder final delta sync at cutover.Peak and average inserts, updates and deletes per second on each collection during a normal business day.
Version steps between blue and greenEach additional minor version adds compatibility checks, and snapshot restore only works within the rules for that version pair.The exact blue and green versions, and whether snapshot restore or the Migration Tool is compatible with that pair.
Access control complexityJWT rules and per-collection read or write permissions must be recreated and tested on green, which is easy to miss in a copy.The number of API keys, JWT claim rules and per-collection permissions in use on blue.
Cluster topology on greenNode count, shard layout and replication factor on green affect copy speed and how much storage the parallel cluster needs.Planned node count, shard count and replication factor for green, compared with blue.

Questions buyers ask before a blue-green Qdrant upgrade

What drives the cost of a blue-green Qdrant upgrade?

The cost follows the amount of work to stand up a parallel cluster, move the data, and prove the results match before cutover. The main drivers are the number of collections and their size, how many nodes the green cluster needs, which copy method fits the source (the Migration Tool or snapshots), how many applications read and write the cluster, and how much validation the business requires. Fixed-scope work is priced from a written scope, so ask for the scope to list the collections, the node layout, the copy method, the write-handling approach, the validation checks and the rollback steps. Infrastructure for the green cluster is a separate, usually recurring cost that you pay to your cloud or data center provider while both clusters run. DeployOpen does not publish a price list, and a quote follows from that written scope.

Can our own team run a blue-green Qdrant upgrade internally?

Yes, if the team has someone who can run a Qdrant cluster, manage the container or Kubernetes platform, and script the copy and validation. The official tutorial walks through the pattern: run a parallel cluster, load it, and switch the endpoint and API key in the application. The parts that take experience are sizing the green cluster, handling writes that arrive during the copy, comparing search results between clusters, and planning the rollback path. Consider an outside partner when the cluster is business-critical, the team has not operated distributed Qdrant before, or the change window is short. Ask any partner to show how their scope covers each of those points.

What do we need to provide for a blue-green upgrade engagement?

The work needs four things from your side:

  • Access to the current cluster, the target infrastructure, and the secrets store that holds API keys and TLS material.
  • Representative test data or permission to copy production collections into a controlled environment, with your data handling rules written down.
  • Named application owners who can confirm which services call Qdrant, which query features they use, and how they switch API keys.
  • A change window agreed in advance, plus a sign-off owner who accepts the validation results before the endpoint moves.

Confirm with your security team how copies of production vectors and payloads may be stored during testing, because the copy is a second data store while both clusters exist.

Can Qdrant snapshots restore across several minor versions?

No. Qdrant snapshots from one cluster can be restored only to clusters running the same minor version or the next minor version. If you are several minor versions behind, a snapshot restore cannot take you directly to the target release, so the path needs intermediate steps or a copy method that works across the gap. The Migration Tool is one option to evaluate for that case. Before you choose a method, confirm the exact versions of your source and target clusters in your environment, check the current release notes, and test the restore on a non-production copy. Multi-step upgrade planning is covered separately on this site.

How are writes handled while the data is copied to the green cluster?

A copy taken at one moment misses anything written afterward, so the plan must decide how new writes reach the green cluster before cutover. Common approaches include freezing writes for a short window, dual-writing from the application to both clusters, or replaying changes from a log or source system after the bulk copy. Each has a cost in application changes and risk of divergence. Ask for the chosen approach in writing, along with how the team will count and compare points between clusters at the end of the copy. Also confirm whether your application can tolerate a stale read period during cutover.

Is a rollback always possible after switching to the green cluster?

Not automatically. A rollback path works only if the blue cluster stays intact and receives or can recover the writes made after cutover. If you keep the blue cluster running, switching the endpoint and API key back is straightforward, but any data written to green during the cutover period must be reconciled before traffic returns. Once the blue cluster is decommissioned, rollback may mean restoring from a snapshot or backup, which depends on version compatibility. Define the rollback trigger, the time you keep blue online, the owner who decides, and the reconciliation steps before the change window opens. Test that path on a copy so it is not a theory on the day.

Does DeployOpen issue a compliance attestation for the upgraded Qdrant system?

No. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work. DeployOpen can prepare systems, controls and evidence for a compliance assessment, such as configuration records, access control settings, audit log configuration, backup and restore test results, and a record of the validation performed during the upgrade. Ask your auditor which evidence they need before the engagement starts, so the scope includes it. Qdrant's own vendor compliance materials are a separate source to review with your compliance lead.

When an in-place or staged upgrade is enough

A blue-green cluster is not the default answer for every Qdrant upgrade. It means provisioning a second full set of nodes, paying for that capacity while both clusters run, copying or restoring data, and running validation twice. For a small collection on a single node, or a replicated cluster that can be upgraded node by node, a parallel cluster may cost more in infrastructure and staff time than the risk it removes. The fair question is whether your rollback needs justify that cost, and whether your data volume and downtime tolerance make an in-place path practical.

A staged path through adjacent minor versions often suits smaller or replicated clusters. Qdrant snapshots restore only to clusters on the same or the next minor version, so a jump of several releases usually means stepping through intermediate versions rather than restoring once. If you are replicated and can keep a replication factor of 2 while nodes restart, a rolling cluster upgrade avoids the second cluster altogether. For multi-version planning, the sibling topics on upgrading across several minor versions, zero-downtime rolling upgrades, and Docker, Compose or Helm upgrades cover those procedures in detail. Confirm the exact version path against the current release notes before you choose, since the release history for your target version is the source of truth.

Choose the blue-green route when you need a clean rollback point that does not depend on the old cluster surviving a failed upgrade, when the version gap is large enough that intermediate steps would be risky, or when you are combining the upgrade with resharding or a storage change. Ask your team to write down the rollback trigger and the maximum acceptable downtime before deciding. If neither can be stated, an in-place or staged upgrade is probably enough.

How DeployOpen scopes and delivers a Qdrant blue-green upgrade

DeployOpen treats a blue-green Qdrant upgrade as a written, fixed-scope engagement inside your own infrastructure. We first agree which collections, client applications and cutover conditions are in scope, then build and test the parallel green cluster, and finally hand over the cutover and rollback runbooks with the evidence your teams need to approve the switch.

How we scope

  • Inventory every collection, its size, payload indexes and the applications that call it, with their current client SDK versions
  • Confirm the current and target Qdrant versions, the migration path (Migration Tool or snapshots) and the deployment type in your environment
  • Agree in writing how writes during the copy will be handled, which validation checks must pass and what triggers a rollback

How we build

  • Stand up the green cluster in your infrastructure with the same storage rules, TLS and API key controls as the blue cluster
  • Load collections with the chosen method, then run result comparisons on representative queries against both clusters
  • Test the endpoint and API key switch in a staging application path and rehearse the rollback before any production change

How we hand over

  • Deliver a cutover runbook with ordered steps, owners, checkpoints and the exact configuration changes for each application
  • Provide a validation report comparing blue and green results, with open issues and the fixes applied
  • Document the blue cluster retention period and the conditions under which it can be decommissioned

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer after the cutover
  • Confirm with your team which post-cutover monitoring and on-call responsibilities sit with DeployOpen and which stay internal

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.