chroma-core/chroma

[ENH] Client / Server versioning compatibility

Ouverte

#2 524 ouverte le 16 juil. 2024

 (4 commentaires) (0 réaction) (0 personne assignée)Rust (2 247 forks)batch import
by-chromadeploymentgood first issue

Métriques du dépôt

Stars
 (27 958 étoiles)
Métriques de merge PR
 (Merge moyen 1j 16h) (80 PRs mergées en 30 j)

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.

Guide contributeur