-
Notifications
You must be signed in to change notification settings - Fork 705
feat(ctl): support list Hummock version #758
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
Conversation
Signed-off-by: Alex Chi <[email protected]>
|
Creating meta client using worker_id 0 is OK as long as the RPCs require correct worker_id are not called. They are pin/unpin/add_tables. You can modify the |
Signed-off-by: Alex Chi <[email protected]>
I think we could add a new list_version RPC call to HummockManager. I can do that tomorrow. |
Codecov Report
@@ Coverage Diff @@
## main #758 +/- ##
============================================
+ Coverage 72.28% 72.40% +0.12%
- Complexity 2758 2759 +1
============================================
Files 910 914 +4
Lines 52759 52988 +229
Branches 1783 1783
============================================
+ Hits 38136 38367 +231
+ Misses 13731 13729 -2
Partials 892 892
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
twocode
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. LGTM!
Signed-off-by: Alex Chi <[email protected]>
|
cc @zwang28 @yezizp2012 I've updated the code to register ctl as RiseCtl worker node. PTAL, thanks! |
Signed-off-by: Alex Chi [email protected]
What's changed and what's your intention?
One thing I'm not sure: currently, we are creating meta client using worker_id 0. Is it okay to do that? cc @zwang28
Checklist
Refer to a related PR or issue link (optional)
ref #721