diff options
author | alexvru <alexvru@ydb.tech> | 2022-07-29 15:47:14 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2022-07-29 15:47:14 +0300 |
commit | ed8f9575e4a53d3eebea8e1bbcd41d022f26bfcb (patch) | |
tree | b33aa82320c5fd3ed50457a933d734962c6753a6 | |
parent | ab1192e6186daeb546d36ea820f8936ec2c96f9d (diff) | |
download | ydb-ed8f9575e4a53d3eebea8e1bbcd41d022f26bfcb.tar.gz |
Fix bug
-rw-r--r-- | ydb/core/blobstorage/vdisk/huge/blobstorage_hullhuge.cpp | 4 |
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)); } } |