qdrant-version-upgrade · qdrant — скилл для Claude Code: обзор и установка
Помогает обновить сервер и клиентские SDK Qdrant без потери данных и простоя. Подскажет порядок апгрейда, правила совместимости версий и чек-лист перед запуском.
npx skills add qdrant/skills --skill qdrant-version-upgrade -a claude-codeЧто делает qdrant-version-upgrade
Скилл объясняет правила совместимости сервера Qdrant и клиентских SDK. Базовое правило: SDK обратно совместим с тремя последними минорными версиями сервера, а хранилище гарантирует совместимость только на одну минорную версию вперёд. Поэтому при обновлении рекомендуется сначала поднять версию SDK, а уже потом обновлять сам сервер.
Для rolling upgrade в кластере нужен replication factor от 2, иначе потребуется окно простоя. На каждой ноде желательно иметь минимум 2 ядра CPU, так как фоновая оптимизация во время обновления конкурирует с обычными запросами. Перед накатом изменений скилл требует снять снапшот: в Qdrant Cloud миграции применяются сразу, и живого отката без восстановления из бэкапа нет.
Если вы пропускаете несколько минорных версий на self-hosted, прыгнуть сразу с 1.15 на 1.17 нельзя. Придётся последовательно обновлять сервис через каждую промежуточную версию, выбирая её последний патч.
Какие задачи решает
- спланировать последовательность обновления SDK и сервера
- подготовить кластер к rolling upgrade без простоя
- проверить совместимость хранилища при переходе через минорные версии
- разобрать причины изменения скоринга или задержек после миграции
Примеры запросов агенту
- Подскажи, в каком порядке обновлять SDK и сервер Qdrant с версии 1.15 до 1.17
- Что нужно проверить перед обновлением ноды Qdrant без простоя?
- Почему изменились скоры в результатах поиска после апгрейда Qdrant?
Как установить qdrant-version-upgrade
1Через Skills CLI (Vercel)
npx skills add qdrant/skills --skill qdrant-version-upgrade -a claude-code2Вручную: положить файлы
~/.claude/skills/qdrant-version-upgrade/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/qdrant-version-upgrade/
1Через Skills CLI (Vercel)
npx skills add qdrant/skills --skill qdrant-version-upgrade -a codex2Вручную: положить файлы
.agents/skills/qdrant-version-upgrade/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add qdrant/skills --skill qdrant-version-upgrade -a cursor2Вручную: положить файлы
.cursor/skills/qdrant-version-upgrade/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install qdrant/skills qdrant-version-upgrade2Вручную: положить файлы
.github/skills/qdrant-version-upgrade/SKILL.md1Через Skills CLI (Vercel)
npx skills add qdrant/skills --skill qdrant-version-upgrade -a gemini-cli2Командой платформы
gemini skills install https://github.com/qdrant/skills --path skills/qdrant-version-upgradeВручную: положить файлы
.devin/skills/qdrant-version-upgrade/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add qdrant/skills --skill qdrant-version-upgrade -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о qdrant-version-upgrade
Как установить qdrant-version-upgrade в Claude Code?
Выполните команду npx skills add qdrant/skills --skill qdrant-version-upgrade -a claude-code.
Можно ли обновить self-hosted Qdrant сразу через две минорные версии?
Нет, совместимость формата хранения гарантируется только между соседними минорными релизами. Для перехода с 1.15 на 1.17 на своей инфраструктуре придётся сначала перейти на свежий 1.16.x, а затем на 1.17.x.
Какие требования нужны кластеру для обновления без простоя?
Требуется фактор репликации 2 или выше, чтобы обновлять узлы по очереди во время обработки трафика остальными нодами. Также рекомендуется выделить минимум 2 ядра CPU на ноду для фоновой оптимизации.
Исходный текст
SKILL.md · Apache-2.0
--- name: qdrant-version-upgrade description: "Covers upgrading Qdrant server and SDKs without interrupting availability or losing data integrity. Use when someone asks 'how do I upgrade Qdrant', 'can I jump from 1.15 to 1.18', 'rolling upgrade without downtime', 'do I upgrade the client or the server first', 'which SDK version matches my server', 'what should I check before upgrading', or 'something changed after we upgraded'." --- # 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](https://skills.qdrant.tech/md/documentation/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](https://skills.qdrant.tech/md/documentation/scaling/distributed_deployment/?s=replication-factor) For managing Qdrant version upgrades in Qdrant Cloud, you can use the [qcloud](https://github.com/qdrant/qcloud-cli) 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](https://skills.qdrant.tech/md/documentation/snapshots/) [Cloud backups](https://skills.qdrant.tech/md/documentation/cloud/backups/) 2. Check [release notes](https://github.com/qdrant/qdrant/releases) 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](https://skills.qdrant.tech/md/documentation/upgrades/) - 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](https://skills.qdrant.tech/md/documentation/cloud/cluster-upgrades/) - 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](https://github.com/qdrant/qdrant/releases) 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
© qdrant · Apache-2.0 · qdrant/skills
Похожие скиллы
Все скиллы по теме «Данные и базы» →Сначала — qdrant-version-upgrade от других авторов.