We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5b586 commit 43fb236Copy full SHA for 43fb236
ydb/core/blobstorage/nodewarden/distconf.cpp
@@ -195,7 +195,7 @@ namespace NKikimr::NStorage {
195
switch (ev->GetTypeRewrite()) {
196
case TEvInterconnect::TEvNodesInfo::EventType:
197
Handle(reinterpret_cast<TEvInterconnect::TEvNodesInfo::TPtr&>(ev));
198
- NodeListObtained = change = true;
+ change = !std::exchange(NodeListObtained, true);
199
break;
200
201
case TEvPrivate::EvStorageConfigLoaded:
@@ -219,8 +219,6 @@ namespace NKikimr::NStorage {
219
if (IsSelfStatic) {
220
UpdateBound(SelfNode.NodeId(), SelfNode, *StorageConfig, nullptr);
221
IssueNextBindRequest();
222
- } else {
223
-
224
}
225
processPendingEvents();
226
0 commit comments