chroma-core/chroma

[ENH] Client / Server versioning compatibility

Aperta

#2524 aperta il 16 lug 2024

 (4 commenti) (0 reazioni) (0 assegnatari)Rust (2247 fork)batch import
by-chromadeploymentgood first issue

Metriche repository

Star
 (27.958 stelle)
Metriche merge PR
 (Merge medio 1g 16h) (80 PR mergiate in 30 g)

Descrizione

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.

Guida contributor