Skip to content

Commit

Permalink
continue running balance task from last status
Browse files Browse the repository at this point in the history
  • Loading branch information
liwenhui-soul committed Jan 19, 2022
1 parent 2247da4 commit 2467169
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/meta/processors/job/BalancePlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ ErrorOr<nebula::cpp2::ErrorCode, std::vector<BalanceTask>> BalancePlan::getBalan
if (task.ret_ == BalanceTaskResult::FAILED || task.ret_ == BalanceTaskResult::INVALID) {
task.ret_ = BalanceTaskResult::IN_PROGRESS;
}
task.status_ = BalanceTaskStatus::START;
auto activeHostRet = ActiveHostsMan::isLived(kv, task.dst_);
if (!nebula::ok(activeHostRet)) {
auto retCode = nebula::error(activeHostRet);
Expand Down

0 comments on commit 2467169

Please sign in to comment.