-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Add CRD backed SegmentDirectory. (#1207)
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Move from docker-compose to k8s manifests. These are lightweight for now, will replace with helm charts. - Modify workflow action for distributed mode to use minikube - Add tenacity for retry/backoff logic - Move segment_directory to /distributed since its a distributed segment type specific interface. - Remove the xfail from the workflow. Only run passing tests - New functionality - Adds a custom resource backed memberlist implementation that fetch + watches. We watch in another thread. - Plumbs this memberlist into the Rendezvous hashing segment directory. For now this is still hardcoded to return the segment-server service. ## Test plan *How are these changes tested?* Tests were added that: 1. Test fetch 2. Test streaming update 3. Test killing the watcher You can run `bin/cluster-test.sh chromadb/test/segment/distributed/test_memberlist_provider.py` to run them yourself (or run minikube, apply the manifests and then run `pytest chromadb/test/segment/distributed/test_memberlist_provider.py`) ## Documentation Changes None required. I added a WARNING.md in k8s to make it clear these manifests are not for use.
- Loading branch information
Showing
24 changed files
with
1,113 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.