mcpField
Q
qdrant-version-upgrade

qdrant-version-upgrade

github.com/qdrantCloud & DevOps2651.4k installsUpdated 1d ago
Repository

About qdrant-version-upgrade

qdrant-version-upgrade is a skill guiding Qdrant version upgrades for people maintaining Qdrant clusters and client applications. It covers compatibility, upgrade order, migration checks, and investigating behavior changes after upgrades.

Key features

  1. 01Qdrant and SDK compatibility guidance
  2. 02Stepwise minor-version upgrades
  3. 03Pre-upgrade checklist
  4. 04Rolling upgrades and downtime requirements
  5. 05Post-upgrade behavior investigation

Use cases

  1. 01Plan an upgrade across multiple minor versions
  2. 02Review backup, release-note, and testing steps
  3. 03Investigate changed results or latency after upgrading

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/qdrant/skills --skill qdrant-version-upgrade

After installing, type/qdrant-version-upgradein Claude Code to confirm it loaded.

Details

From the project README

Qdrant Version Upgrade

Qdrant has the following guarantees about version compatibility:

  • Major and minor versions of Qdrant and SDK are expected to match. For example, Qdrant 1.17.x is compatible with SDK 1.17.x.

  • Client SDKs are tested to be backward compatible with the latest 3 minor versions of Qdrant. For example, SDK 1.17.x works with Qdrant 1.15.x to 1.17.x, but only for the features the server version supports Upgrades

  • For migration to the next minor version, it is recommended to first upgrade the SDK to the next minor version and then upgrade the Qdrant server.

  • Storage compatibility is only guaranteed for one minor version. For example, data stored with Qdrant 1.16.x is expected to be compatible with Qdrant 1.17.x. If you need to migrate more than one minor version, it is required do the upgrade step by step, one minor version at a time. For example, to migrate from 1.15.x to 1.17.x, you need to first upgrade to 1.16.x and then to 1.17.x. Note: Qdrant Cloud automates this process, so you can directly upgrade from 1.15.x to 1.17.x without intermediate steps.

  • A Qdrant cluster with a replication factor of 2 or higher can be upgraded without downtime by performing a rolling upgrade. This means that you can upgrade one node at a time while the other nodes continue to serve requests. This allows you to maintain availability of your application during the upgrade process. More about replication factor: Replication factor

For managing Qdrant version upgrades in Qdrant Cloud, you can use the qcloud CLI tool.

Pre-Upgrade Checklist

  1. Back up first: It's recommended to take a backup or snapshot before updating to allow for rollbacks. If the upgrade fails or you need to revert, you can restore the pre-upgrade snapshot. Qdrant Cloud applies data migrations during upgrades, so there's no live downgrade. Snapshots Cloud backups

  2. Check release notes for default and behavior changes, not just deprecations. Version upgrades may introduce changes to default settings, validation rules, or query behavior that can affect existing workloads even when APIs remain compatible.

  3. Test your client app against the target server version first in a non-prod environment, and check SDK release notes for deprecated/removed methods before switching over.

  4. It's recommended to run at least 2 CPU cores per node. During upgrades, Qdrant may perform background optimization while still handling regular operations. With only 1 core, these tasks can compete for CPU resources and can significantly slow down the upgrade process.

  5. Use a replication factor of 2 or higher if you need a zero-downtime rolling upgrade. With a replication factor of 1, the upgrade requires a downtime window.

Crossing More Then One Minor Versions

Use when: the running version is two or more minor versions behind the target.

  • Self-hosted: step through every intermediate minor version, and land on the latest patch of each before moving on. From 1.15 to 1.17, go to the newest 1.16.x first, then 1.17.x. Upgrading Qdrant
  • Each step is its own rolling restart, so the total is a multiple of a single-version upgrade. This takes longer than a single-version bump, so plan for it and prefer non-peak hours.
  • Qdrant Cloud chains the intermediate updates for you, so 1.15.x to 1.17.x is a single action. Updating Qdrant Cloud clusters
  • Upgrade on a regular cadence to keep future jumps to one minor version. Regular upgrades also reduce the complexity of future migrations by avoiding large version jumps.

Troubleshooting Behavior Changes After an Upgrade

Use when: results, scores, or latency look different once the new version is live.

  • When investigating a bug or unexpected behavior after an upgrade, check the release notes/changelog between the source and target versions for deprecations, default-value changes, and behavior changes that may affect your workload.

  • Compare relative ranking and recall against your pre-upgrade baseline, not absolute score values. Scoring internals can change between versions and still be correct.

What NOT to Do

  • Treat identical absolute scores as an acceptance criterion across versions
  • Read only the target version's notes and skip intermediate minor and patch releases
  • Jump multiple minor versions at once on self-hosted deployments
  • Assume a rolling upgrade finished without confirming that every node reports the target version

Comments

Markdown supported