aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexvru <alexvru@ydb.tech>2022-07-29 15:47:14 +0300
committeralexvru <alexvru@ydb.tech>2022-07-29 15:47:14 +0300
commited8f9575e4a53d3eebea8e1bbcd41d022f26bfcb (patch)
treeb33aa82320c5fd3ed50457a933d734962c6753a6
parentab1192e6186daeb546d36ea820f8936ec2c96f9d (diff)
downloadydb-ed8f9575e4a53d3eebea8e1bbcd41d022f26bfcb.tar.gz
Fix bug
-rw-r--r--ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp b/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp
index e306630ee2..f97da22d30 100644
--- a/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp
+++ b/ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp
@@ -746,9 +746,7 @@ namespace NKikimr {
LOG_DEBUG(ctx, BS_HULLHUGE, VDISKP(HugeKeeperCtx->VCtx->VDiskLogPrefix,
"THullHugeKeeper: TEvHullWriteHugeBlob: %s", std::data(ev->Get()->ToString())));
std::unique_ptr<TEvHullWriteHugeBlob::THandle> item(ev.Release());
- if (ProcessWrite(*item, ctx, false)) {
- (void)item.release();
- } else {
+ if (!ProcessWrite(*item, ctx, false)) {
PutToWaitQueue(std::move(item));
}
}