Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRPC endpoint placeholder for compact segments #324

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

khoa165
Copy link
Collaborator

@khoa165 khoa165 commented Jan 20, 2025

Changes

  • Add new GRPC endpoint to protobuf definition for compacting collection segments
  • Add a function in index_server as placeholder

Motivation

Per #225, this is the second step towards manual compaction for segments feature

Screenshot

One or more segments don't exist
Screenshot 2025-01-20 at 2 05 31 PM

Less than 2 segments are provided
Screenshot 2025-01-20 at 2 08 52 PM

@khoa165 khoa165 marked this pull request as ready for review January 20, 2025 19:09
@khoa165 khoa165 requested a review from hicder January 20, 2025 19:09
@khoa165
Copy link
Collaborator Author

khoa165 commented Jan 20, 2025

@hicder for now I'm adding the skeleton for GRPC endpoint for compaction and a few validations. Feel free to start reviewing or you can also wait till I push up the change for the actual logic of compaction (likely after our next 1-1 and probably during this weekend)

Copy link
Owner

@hicder hicder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@khoa165 khoa165 merged commit 3060f93 into master Jan 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants