qdrant-version-upgrade

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Qdrant Version Upgrade

Qdrant 版本升级

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.
  • Qdrant is tested for backward compatibility between minor versions. For example, Qdrant 1.17.x should be compatible with SDK 1.16.x. Qdrant server 1.16.x is also expected to be compatible with SDK 1.17.x, but only for the subset of features that were available in 1.16.x.
  • 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.
Qdrant 对版本兼容性有如下保障:
  • Qdrant 的主版本、次版本需要与 SDK 版本匹配。例如,Qdrant 1.17.x 与 SDK 1.17.x 兼容。
  • Qdrant 经过次版本间的向后兼容性测试。例如,Qdrant 1.17.x 应当与 SDK 1.16.x 兼容。Qdrant 服务端 1.16.x 也应当与 SDK 1.17.x 兼容,但仅适用于 1.16.x 中已提供的功能子集。
  • 若要迁移到下一个次版本,建议先将 SDK 升级到对应下一个次版本,再升级 Qdrant 服务端。
  • 存储兼容性仅保障相邻次版本。例如,使用 Qdrant 1.16.x 存储的数据应当与 Qdrant 1.17.x 兼容。如果你需要跨多个次版本迁移,必须逐步完成升级,每次仅升级一个次版本。例如,要从 1.15.x 迁移到 1.17.x,你需要先升级到 1.16.x,再升级到 1.17.x。注意:Qdrant Cloud 会自动执行该流程,因此你可以直接从 1.15.x 升级到 1.17.x,无需中间步骤。
  • 副本数为 2 或更高的 Qdrant 集群可以通过滚动升级实现无停机升级。这意味着你可以一次升级一个节点,其余节点继续处理请求,让你在升级过程中保持应用的可用性。了解更多关于副本数的内容:Replication factor
如果要在 Qdrant Cloud 中管理 Qdrant 版本升级,你可以使用 qcloud CLI 工具。