Skip to content

Commit 77c1953

Browse files
authored
Correct BSC teardown on Console race (#13280)
1 parent d425a70 commit 77c1953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/core/mind/bscontroller/console_interaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ namespace NKikimr::NBsController {
239239
switch (status) {
240240
case NKikimrProto::OK:
241241
if (generation <= blockedGeneration) {
242-
Self.PassAway();
242+
Self.HandlePoison(TActivationContext::AsActorContext());
243243
return;
244244
}
245245
if (generation == blockedGeneration + 1 && NeedRetrySession) {
@@ -249,7 +249,7 @@ namespace NKikimr::NBsController {
249249
Y_VERIFY_DEBUG_S(generation == blockedGeneration + 1, "BlockedGeneration#" << blockedGeneration << " Tablet generation#" << generation);
250250
break;
251251
case NKikimrProto::BLOCKED:
252-
Self.PassAway();
252+
Self.HandlePoison(TActivationContext::AsActorContext());
253253
break;
254254
case NKikimrProto::DEADLINE:
255255
case NKikimrProto::RACE:

0 commit comments

Comments
 (0)