diff options
| author | Ivan Efimov <[email protected]> | 2026-06-09 12:37:23 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-09 12:37:23 +0200 |
| commit | 0198ddf95c1d8f6394aacba76719b4f91aaa28f8 (patch) | |
| tree | 337ff1a7a6941dd64435eacd31dd752165b5a1f4 | |
| parent | 9752498faf539c3d155a251f752779a55e78b604 (diff) | |
Fix vhost evloop contention failing partition tests (#42863)
| -rw-r--r-- | ydb/core/nbs/cloud/blockstore/bootstrap/bootstrap.cpp | 3 |
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); } |
