summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Efimov <[email protected]>2026-06-09 12:37:23 +0200
committerGitHub <[email protected]>2026-06-09 12:37:23 +0200
commit0198ddf95c1d8f6394aacba76719b4f91aaa28f8 (patch)
tree337ff1a7a6941dd64435eacd31dd752165b5a1f4
parent9752498faf539c3d155a251f752779a55e78b604 (diff)
Fix vhost evloop contention failing partition tests (#42863)
-rw-r--r--ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp b/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp
index 249d7c06b9c..62eb7b686d2 100644
--- a/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp
+++ b/ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp
@@ -89,6 +89,9 @@ const NKikimrConfig::TNbsConfig& TNbsService::GetConfig() const
void CreateNbsService(const NKikimrConfig::TNbsConfig& config)
{
+ // Ensure existing NbsService (if any) is destroyed BEFORE a new one
+ // is constructed to prevent global vhost queue contention.
+ NbsService = nullptr;
NbsService = std::make_shared<TNbsService>(config);
}