Skip to content

Commit

Permalink
Revert "disable data balance (vesoft-inc#3756)"
Browse files Browse the repository at this point in the history
This reverts commit 4808e5b.
  • Loading branch information
liwenhui-soul committed Mar 16, 2022
1 parent af3c9c5 commit c448ecd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/graph/validator/AdminJobValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ namespace nebula {
namespace graph {

Status AdminJobValidator::validateImpl() {
if (sentence_->getCmd() == meta::cpp2::AdminCmd::DATA_BALANCE ||
sentence_->getCmd() == meta::cpp2::AdminCmd::ZONE_BALANCE) {
return Status::SemanticError("Data balance not support");
}
if (sentence_->getOp() == meta::cpp2::AdminJobOp::ADD) {
auto cmd = sentence_->getCmd();
if (requireSpace()) {
Expand Down

0 comments on commit c448ecd

Please sign in to comment.