diff options
| author | Alexander Rutkovsky <[email protected]> | 2025-01-10 19:33:34 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-10 16:33:34 +0000 |
| commit | 77c19537e738a5a525ad6ff17aab6999ee82d7c2 (patch) | |
| tree | e6ef1db5b1ab4a0d2b88671f753fe881f863afcb | |
| parent | d425a70c0e5b9a4e55b009c87d2acb1c2c813a12 (diff) | |
Correct BSC teardown on Console race (#13280)
| -rw-r--r-- | ydb/core/mind/bscontroller/console_interaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/mind/bscontroller/console_interaction.cpp b/ydb/core/mind/bscontroller/console_interaction.cpp index 8ae0ccba933..8b5f4fd55cd 100644 --- a/ydb/core/mind/bscontroller/console_interaction.cpp +++ b/ydb/core/mind/bscontroller/console_interaction.cpp @@ -239,7 +239,7 @@ namespace NKikimr::NBsController { switch (status) { case NKikimrProto::OK: if (generation <= blockedGeneration) { - Self.PassAway(); + Self.HandlePoison(TActivationContext::AsActorContext()); return; } if (generation == blockedGeneration + 1 && NeedRetrySession) { @@ -249,7 +249,7 @@ namespace NKikimr::NBsController { Y_VERIFY_DEBUG_S(generation == blockedGeneration + 1, "BlockedGeneration#" << blockedGeneration << " Tablet generation#" << generation); break; case NKikimrProto::BLOCKED: - Self.PassAway(); + Self.HandlePoison(TActivationContext::AsActorContext()); break; case NKikimrProto::DEADLINE: case NKikimrProto::RACE: |
