Skip to content

Commit ea66216

Browse files
authored
EXT-1559: fix msg size for compaction throttler (#26199)
1 parent 4364805 commit ea66216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/blobstorage/vdisk/hullop/blobstorage_hullcompact.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ namespace NKikimr {
164164
if (msg->Type() == TEvBlobStorage::EvChunkWrite) {
165165
auto *write = static_cast<NPDisk::TEvChunkWrite*>(msg.get());
166166
return write->PartsPtr ? write->PartsPtr->ByteSize() : 0;
167-
} else {
167+
} else if (msg->Type() == TEvBlobStorage::EvChunkRead) {
168168
auto *read = static_cast<NPDisk::TEvChunkRead*>(msg.get());
169169
return read->Size;
170170
}

0 commit comments

Comments
 (0)