Skip to content

Commit 6eb2d23

Browse files
authored
fix replicas terminating (#5344)
1 parent 624d42e commit 6eb2d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/blobstorage/nodewarden/node_warden_resource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void TNodeWarden::ApplyStateStorageConfig(const NKikimrBlobStorage::TStorageConf
217217
// terminate unused replicas
218218
for (const auto& replicaId : localActorIds) {
219219
STLOG(PRI_INFO, BS_NODE, NW43, "terminating useless state storage replica", (ReplicaId, replicaId));
220-
const TActorId actorId = as->RegisterLocalService(actorId, TActorId());
220+
const TActorId actorId = as->RegisterLocalService(replicaId, TActorId());
221221
TActivationContext::Send(new IEventHandle(TEvents::TSystem::Poison, 0, actorId, SelfId(), nullptr, 0));
222222
}
223223

0 commit comments

Comments
 (0)