From f53ba9c60b7dba9a6f629c6914e9dc8b134bf4d5 Mon Sep 17 00:00:00 2001 From: Evgeny Budilovsky Date: Thu, 1 Feb 2024 17:11:20 +0200 Subject: [PATCH] NBS-312: temporarily revert call to TrySwitchEndpoint (#322) --- cloud/blockstore/libs/endpoints/endpoint_manager.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cloud/blockstore/libs/endpoints/endpoint_manager.cpp b/cloud/blockstore/libs/endpoints/endpoint_manager.cpp index 8592e05730f..f10af7aba31 100644 --- a/cloud/blockstore/libs/endpoints/endpoint_manager.cpp +++ b/cloud/blockstore/libs/endpoints/endpoint_manager.cpp @@ -672,9 +672,12 @@ void TEndpointManager::TrySwitchEndpoint(const TString& diskId) void TEndpointManager::OnVolumeConnectionEstablished(const TString& diskId) { - Executor->ExecuteSimple([this, diskId] () { - return TrySwitchEndpoint(diskId); - }); + Y_UNUSED(diskId); + + // TODO: NBS-312 safely call TrySwitchEndpoint + // Executor->ExecuteSimple([this, diskId] () { + // return TrySwitchEndpoint(diskId); + // }); } } // namespace