aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Rutkovsky <alexvru@mail.ru>2022-02-24 01:42:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-24 01:42:01 +0300
commita12930f7aec252ac021f27c5ae48ea71f534ea58 (patch)
treeb69666fdae022003c9384b3476dc5875b29ee68c
parent746834cd281440768bd56db14dabd545fd123ca0 (diff)
downloadydb-a12930f7aec252ac021f27c5ae48ea71f534ea58.tar.gz
Remove unnecessary metadata update KIKIMR-9812
REVIEW: 2345808 REVIEW: 2345866 x-ydb-stable-ref: cc2cec225498e78713cb7ed2fe5b0590f68f6c04
-rw-r--r--ydb/core/mind/bscontroller/register_node.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ydb/core/mind/bscontroller/register_node.cpp b/ydb/core/mind/bscontroller/register_node.cpp
index a54801b742..9e0df640a8 100644
--- a/ydb/core/mind/bscontroller/register_node.cpp
+++ b/ydb/core/mind/bscontroller/register_node.cpp
@@ -254,9 +254,6 @@ public:
if (!group) {
groupsToDiscard.insert(groupsToDiscard.end(), groupId);
} else if (group->Generation > generation) {
- auto *meta = res->Record.AddGroupMetadata();
- meta->SetGroupId(groupId);
- meta->SetCurrentGeneration(group->Generation);
groupIDsToRead.insert(groupId);
}
};