diff options
author | ilnaz <ilnaz@ydb.tech> | 2023-12-04 14:07:30 +0300 |
---|---|---|
committer | ilnaz <ilnaz@ydb.tech> | 2023-12-04 19:08:37 +0300 |
commit | 24c4796d871e0d3ecf4e7292abf0be5657ef20a4 (patch) | |
tree | 4673d5321fdca818f102e650799123501541e6a4 | |
parent | ee40b9f72da2658ae405b034ff7e33e2f54ef27c (diff) | |
download | ydb-24c4796d871e0d3ecf4e7292abf0be5657ef20a4.tar.gz |
(refactoring) Move CMS related functions to separate file KIKIMR-20254
-rw-r--r-- | ydb/core/protos/out/out.cpp | 21 | ||||
-rw-r--r-- | ydb/core/protos/out/out_cms.cpp | 20 |
2 files changed, 20 insertions, 21 deletions
diff --git a/ydb/core/protos/out/out.cpp b/ydb/core/protos/out/out.cpp index bec7401ad4..d3e3db2fb8 100644 --- a/ydb/core/protos/out/out.cpp +++ b/ydb/core/protos/out/out.cpp @@ -1,7 +1,6 @@ #include <ydb/core/protos/blobstorage.pb.h> #include <ydb/core/protos/blobstorage_vdisk_internal.pb.h> #include <ydb/core/protos/blobstorage_vdisk_config.pb.h> -#include <ydb/core/protos/cms.pb.h> #include <ydb/core/protos/console_base.pb.h> #include <ydb/core/protos/console_config.pb.h> #include <ydb/core/protos/console_tenant.pb.h> @@ -57,14 +56,6 @@ Y_DECLARE_OUT_SPEC(, NKikimrProto::EReplyStatus, stream, value) { stream << NKikimrProto::EReplyStatus_Name(value); } -Y_DECLARE_OUT_SPEC(, NKikimrCms::TStatus::ECode, stream, value) { - stream << NKikimrCms::TStatus::ECode_Name(value); -} - -Y_DECLARE_OUT_SPEC(, NKikimrCms::EState, stream, value) { - stream << NKikimrCms::EState_Name(value); -} - Y_DECLARE_OUT_SPEC(, NKikimrBlobStorage::EDriveStatus, stream, value) { stream << NKikimrBlobStorage::EDriveStatus_Name(value); } @@ -117,22 +108,10 @@ Y_DECLARE_OUT_SPEC(, NKikimrNodeBroker::TStatus::ECode, stream, value) { stream << NKikimrNodeBroker::TStatus::ECode_Name(value); } -Y_DECLARE_OUT_SPEC(, NKikimrCms::EMarker, stream, value) { - stream << NKikimrCms::EMarker_Name(value); -} - Y_DECLARE_OUT_SPEC(, NKikimrTxDataShard::ETransactionKind, stream, value) { stream << NKikimrTxDataShard::ETransactionKind_Name(value); } -Y_DECLARE_OUT_SPEC(, NKikimrCms::ETextFormat, stream, value) { - stream << NKikimrCms::ETextFormat_Name(value); -} - -Y_DECLARE_OUT_SPEC(, NKikimrCms::TLogRecordData::EType, stream, value) { - stream << NKikimrCms::TLogRecordData::EType_Name(value); -} - Y_DECLARE_OUT_SPEC(, NKikimrConfig::TBootstrap::ETabletType, stream, value) { stream << NKikimrConfig::TBootstrap::ETabletType_Name(value); } diff --git a/ydb/core/protos/out/out_cms.cpp b/ydb/core/protos/out/out_cms.cpp index 8f9555967f..a681fdb380 100644 --- a/ydb/core/protos/out/out_cms.cpp +++ b/ydb/core/protos/out/out_cms.cpp @@ -5,3 +5,23 @@ Y_DECLARE_OUT_SPEC(, NKikimrCms::EAvailabilityMode, stream, value) { stream << NKikimrCms::EAvailabilityMode_Name(value); } + +Y_DECLARE_OUT_SPEC(, NKikimrCms::TStatus::ECode, stream, value) { + stream << NKikimrCms::TStatus::ECode_Name(value); +} + +Y_DECLARE_OUT_SPEC(, NKikimrCms::EState, stream, value) { + stream << NKikimrCms::EState_Name(value); +} + +Y_DECLARE_OUT_SPEC(, NKikimrCms::EMarker, stream, value) { + stream << NKikimrCms::EMarker_Name(value); +} + +Y_DECLARE_OUT_SPEC(, NKikimrCms::ETextFormat, stream, value) { + stream << NKikimrCms::ETextFormat_Name(value); +} + +Y_DECLARE_OUT_SPEC(, NKikimrCms::TLogRecordData::EType, stream, value) { + stream << NKikimrCms::TLogRecordData::EType_Name(value); +} |