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

[curve/toos-v2]: add rapid-leader-schedule #2359

Closed
Cyber-SiKu opened this issue Mar 30, 2023 · 8 comments
Closed

[curve/toos-v2]: add rapid-leader-schedule #2359

Cyber-SiKu opened this issue Mar 30, 2023 · 8 comments
Assignees

Comments

@Cyber-SiKu
Copy link
Contributor

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

we'd like to support bs repair leader-schedule command in curve tool

  • The implementation of the old tool is here:
    int ScheduleTool::DoRapidLeaderSchedule() {
    if (0 != mdsClient_->Init(FLAGS_mdsAddr)) {
    std::cout << "Init mds client fail!" << std::endl;
    return -1;
    }
    if (FLAGS_scheduleAll) {
    return ScheduleAll();
    } else {
    return ScheduleOne(FLAGS_logical_pool_id);
    }
    }
  • The old command input and out put:
curve_ops_tool rapid-leader-schedule

-------
output:
RapidLeaderSchedule success

Refer to tool develop guide to get start, and paste the result of the command in pr.

Build compilation environment:https://github.com/opencurve/curve/blob/master/docs/cn/build_and_run.md

Describe the solution you'd like (描述你期望的解决方法)

Add subcommand clinet to curve bs list.

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

@JadeFlute0127
Copy link

This issue looks relatively simple, I want to try to complete it.

@zhanghuidinah
Copy link
Member

@Cyber-SiKu
Copy link
Contributor Author

@JadeFlute0127 Have you encountered any difficulties?

@DuckdanB
Copy link

I'd like to try this project

@wuhongsong
Copy link
Contributor

I'd like to try this project

for free to try it

@Cyber-SiKu
Copy link
Contributor Author

@DuckdanB Are you still going on?

@montaguelhz
Copy link
Contributor

let me try it

@ilixiaocui
Copy link
Contributor

ilixiaocui commented Jun 13, 2023

let me try it

Welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants