ef_construction outside the current range
of 1–4096. Such collections reject writes before appending records to the local
log. Restarting does not change the saved value, and the collection configuration
update API does not expose this immutable setting.
Use chroma hnsw-config-repair to replace invalid construction settings in a new
copy of your local store:
- Stop every Chroma server and embedded client using the persistent directory.
- Obtain the collection UUID from the collection’s
idor thecollectionstable inchroma.sqlite3. - Run the repair with an output directory that does not exist and is outside the original persistent directory:
- After the command succeeds, start Chroma using
./chroma-repairedas its persistent directory and verify your collection.