chroma-core/chroma

[ENH] Client / Server versioning compatibility

Open

#2524 opened on Jul 16, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (27,958 stars) (2,247 forks)batch import
by-chromadeploymentgood first issue

Description

It's possible for users to not keep upgrades of clients and servers for Chroma in sync (e.g. https://github.com/chroma-core/chroma/issues/2510)

This can lead to confusing errors. In general, we don't want to support mismatched client and server versions, though we do have limited backward compatibility between older client versions (which may be distributed to user machines and might not receive upgrades) and newer servers.

We should:

  • Add a way for clients and servers to communicate their versions to each other
  • Add logic to check for version compatibility
  • Throw friendly error messages explaining the upgrade path, including any commands or utilities which need to be run.

Contributor guide