aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBulat Gayazov <brgayazov@yandex-team.ru>2023-08-24 22:52:51 +0300
committerbrgayazov <bulat@ydb.tech>2023-08-24 23:13:15 +0300
commita04249ef2ae43b56dcca4b5c8e1ba59525feb9be (patch)
treebf1659aee717e432c5968937940c6de7c93b5c42
parentf5cce2b33840e0f8eaf4b36e78bcf0bb6aaffb34 (diff)
downloadydb-a04249ef2ae43b56dcca4b5c8e1ba59525feb9be.tar.gz
Fixed undefined value "Rejected" in buildindex YDB SDK
Fixed undefined value "Rejected" in buildindex YDB SDK Pull Request resolved: #344
-rw-r--r--ydb/public/lib/ydb_cli/dump/restore_impl.cpp1
-rw-r--r--ydb/public/sdk/cpp/client/ydb_table/table_enum.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/ydb/public/lib/ydb_cli/dump/restore_impl.cpp b/ydb/public/lib/ydb_cli/dump/restore_impl.cpp
index 4ef2444e16b..84ba446aea5 100644
--- a/ydb/public/lib/ydb_cli/dump/restore_impl.cpp
+++ b/ydb/public/lib/ydb_cli/dump/restore_impl.cpp
@@ -85,6 +85,7 @@ bool HasRunningIndexBuilds(TOperationClient& client, const TString& dbPath) {
case EBuildIndexState::TransferData:
case EBuildIndexState::Applying:
case EBuildIndexState::Cancellation:
+ case EBuildIndexState::Rejection:
return true;
default:
break;
diff --git a/ydb/public/sdk/cpp/client/ydb_table/table_enum.h b/ydb/public/sdk/cpp/client/ydb_table/table_enum.h
index 516acd49346..31c538d6a6b 100644
--- a/ydb/public/sdk/cpp/client/ydb_table/table_enum.h
+++ b/ydb/public/sdk/cpp/client/ydb_table/table_enum.h
@@ -20,6 +20,8 @@ enum class EBuildIndexState {
Done = 4,
Cancellation = 5,
Cancelled = 6,
+ Rejection = 7,
+ Rejected = 8,
};
enum class EIndexType {