diff options
author | alexvru <alexvru@ydb.tech> | 2022-10-19 17:54:40 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2022-10-19 17:54:40 +0300 |
commit | 16e16e844ee6f6e366e91674271e329151b6535a (patch) | |
tree | 1f04e323a33d9a96593b7bd497de03eed24efdf0 | |
parent | c171d108aa0d0281f6405cf8d577c2cef03183f3 (diff) | |
download | ydb-16e16e844ee6f6e366e91674271e329151b6535a.tar.gz |
Support encryption flag in NodeWhiteboard
-rw-r--r-- | ydb/core/node_whiteboard/node_whiteboard.h | 3 | ||||
-rw-r--r-- | ydb/core/protos/node_whiteboard.proto | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ydb/core/node_whiteboard/node_whiteboard.h b/ydb/core/node_whiteboard/node_whiteboard.h index 9230290af2..8a986dead8 100644 --- a/ydb/core/node_whiteboard/node_whiteboard.h +++ b/ydb/core/node_whiteboard/node_whiteboard.h @@ -266,6 +266,9 @@ struct TEvWhiteboard{ VDiskIDFromVDiskID(groupInfo->GetVDiskId(i), Record.AddVDiskIds()); } Record.SetStoragePoolName(groupInfo->GetStoragePoolName()); + if (groupInfo->GetEncryptionMode() != TBlobStorageGroupInfo::EEM_NONE) { + Record.SetEncryption(true); + } } }; diff --git a/ydb/core/protos/node_whiteboard.proto b/ydb/core/protos/node_whiteboard.proto index 4c84d83bb3..252095d62d 100644 --- a/ydb/core/protos/node_whiteboard.proto +++ b/ydb/core/protos/node_whiteboard.proto @@ -232,6 +232,7 @@ message TBSGroupStateInfo { optional uint64 AvailableSize = 16 [(InsignificantChangeAmount) = 100000000]; optional uint64 ReadThroughput = 17; optional uint64 WriteThroughput = 18; + optional bool Encryption = 19; } message TEvBSGroupStateRequest { |