From 87ffacd24de8a97f5607b0445002196f3d1bead5 Mon Sep 17 00:00:00 2001 From: liwenhui-soul <38217397+liwenhui-soul@users.noreply.github.com> Date: Mon, 21 Feb 2022 11:06:58 +0800 Subject: [PATCH] Revert "disable data balance (#3756)" This reverts commit 4808e5ba284a7811ccc1ef45e8be1a617a82bb46. --- src/graph/validator/AdminJobValidator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/graph/validator/AdminJobValidator.cpp b/src/graph/validator/AdminJobValidator.cpp index cd489587ab0..abb5f8382de 100644 --- a/src/graph/validator/AdminJobValidator.cpp +++ b/src/graph/validator/AdminJobValidator.cpp @@ -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()) {