aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilnaz <ilnaz@ydb.tech>2023-12-05 11:05:20 +0300
committerilnaz <ilnaz@ydb.tech>2023-12-05 11:32:16 +0300
commitf8aad3973e9a71421a7730536878cee872e679e1 (patch)
treeb47529d5221e836c393370d0f2f0a1659e94621b
parent048b8ea15d508e14b4fa644c973ba8cd3c6ff771 (diff)
downloadydb-f8aad3973e9a71421a7730536878cee872e679e1.tar.gz
Do not clear ConfigUpdater.Id OnPipeDisconnected() KIKIMR-20395
-rw-r--r--ydb/core/cms/sentinel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/cms/sentinel.cpp b/ydb/core/cms/sentinel.cpp
index 6881eec347..16000a0a0d 100644
--- a/ydb/core/cms/sentinel.cpp
+++ b/ydb/core/cms/sentinel.cpp
@@ -1141,7 +1141,7 @@ class TSentinel: public TActorBootstrapped<TSentinel> {
}
void OnPipeDisconnected() {
- if (const TActorId& actor = std::exchange(ConfigUpdater.Id, {})) {
+ if (const TActorId& actor = ConfigUpdater.Id) {
Send(actor, new TEvSentinel::TEvBSCPipeDisconnected());
}