chroma icon indicating copy to clipboard operation
chroma copied to clipboard

[ENH] Implement compactor server interface

Open Sicheng-Pan opened this issue 9 months ago • 2 comments

Description of changes

Summarize the changes made by this PR.

  • Improvements & Bug fixes
    • N/A
  • New functionality
    • We would like to manually start a compaction on certain collections. This PR is the first in the stack to implement this feature. Specifically, it:
      • Introduces the grpc interface for compactor. Currently there is only a single variant of request that allows the user to specify an optional list of collection ids for compaction.
      • Implements the CompactionServer struct in rust that implements this interface. It receives the request and send it to the running CompactionManager
      • The next PRs will handle the request in CompactionManager.

Test plan

How are these changes tested?

  • [ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes

Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

Sicheng-Pan avatar Dec 31 '24 00:12 Sicheng-Pan