summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeniy Ivanov <[email protected]>2026-07-21 13:12:09 +0200
committerGitHub <[email protected]>2026-07-21 11:12:09 +0000
commitc6cd5b01eef32131dfd407facf7d4d1ca1e86033 (patch)
tree3c528e67eba0f8736db62c15b08e57bb7a39362c
parente2f5df412bac3d7f096563dc1f6c24cd623ccb19 (diff)
Fix a glitch and green the corresponding test (#46762)
-rw-r--r--ydb/core/blobstorage/ddisk/ddisk_actor_sync.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/core/blobstorage/ddisk/ddisk_actor_sync.cpp b/ydb/core/blobstorage/ddisk/ddisk_actor_sync.cpp
index b3194ec154f..ec1ac876e97 100644
--- a/ydb/core/blobstorage/ddisk/ddisk_actor_sync.cpp
+++ b/ydb/core/blobstorage/ddisk/ddisk_actor_sync.cpp
@@ -199,7 +199,8 @@ namespace NKikimr::NDDisk {
}
}
- Y_DEBUG_ABORT_UNLESS(SyncReadCookiesInFlight.emplace(requestId).second);
+ const bool inserted = SyncReadCookiesInFlight.emplace(requestId).second;
+ Y_DEBUG_ABORT_UNLESS(inserted);
const TActorId& sourceActorId = fromPersistentBuffer
? sourceInfo.PersistentBufferActorId
: sourceInfo.DDiskActorId;