curve icon indicating copy to clipboard operation
curve copied to clipboard

optimize curvebs rapid leader schedule

Open wu-hanqing opened this issue 1 year ago • 7 comments

In order to test the maximum performance of the cluster, it is necessary to ensure that the number of leaders on each process is as consistent as possible. Currently, we provide a command rapid-leader-schedule to accomplish this.

https://github.com/opencurve/curve/blob/5e89a861764d68190d4a81f3746cc447cd014619/src/tools/curve_tool_main.cpp#L63

But in the process of using it, we found that occasionally we need to execute the command multiple times or wait for a long time to make the number of leaders as consistent as possible.

Therefore, we need to optimize the tool so that it only needs to be executed once, and the balance can be completed in a very short time.

wu-hanqing avatar Apr 11 '23 09:04 wu-hanqing

Hello, I am very interested in curve, This issue looks relatively simple, I want to try to complete it.

JadeFlute0127 avatar Apr 11 '23 14:04 JadeFlute0127

Hello, I am very interested in curve, This issue looks relatively simple, I want to try to complete it.

feel free to try it

wu-hanqing avatar Apr 12 '23 01:04 wu-hanqing

i want to try it

codeYzl avatar Apr 19 '23 03:04 codeYzl

I am interested in this task, please assign it to me, thanks. @wu-hanqing

Xinlong-Chen avatar Apr 28 '23 03:04 Xinlong-Chen

Hi, @JadeFlute0127 @codeYzl, are you still following up on this issue? Have you made any progress?

wu-hanqing avatar Apr 28 '23 03:04 wu-hanqing

@Xinlong-Chen Everyone can choose the topics they are interested in, so feel free to try it.

wuhongsong avatar May 17 '23 02:05 wuhongsong

Can I apply for it?

1797818494 avatar Jul 31 '23 04:07 1797818494