diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-23 10:37:30 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-23 10:52:09 +0300 |
commit | c17de4eb2989b79e66589429b87b05d2c2e669da (patch) | |
tree | 7112855b239022e35780b3e6da3adb1f7f142607 | |
parent | cd4cf36a71bb8807d2daf17b944d923e95a2ade4 (diff) | |
download | ydb-c17de4eb2989b79e66589429b87b05d2c2e669da.tar.gz |
Y_VERIFY_DEBUG->Y_DEBUG_ABORT_UNLESS at 'ydb'
-rw-r--r-- | ydb/core/persqueue/partition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/persqueue/partition.cpp b/ydb/core/persqueue/partition.cpp index ad31361e58..a711c81426 100644 --- a/ydb/core/persqueue/partition.cpp +++ b/ydb/core/persqueue/partition.cpp @@ -178,7 +178,7 @@ ui64 TPartition::MeteringDataSize(const TActorContext& /*ctx*/) const { // maintained by the background process. However, the last block may contain several irrelevant // messages. Because of them, we throw out the size of the entire blob. ui64 size = Size() - DataKeysBody[0].Size; - Y_VERIFY_DEBUG(size >= 0, "Metering data size must be positive"); + Y_DEBUG_ABORT_UNLESS(size >= 0, "Metering data size must be positive"); return std::max<ui64>(size, 0); } |