aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/interconnect_channel.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-16 20:19:28 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-16 20:52:22 +0300
commit23b4cd86157da8b9f0f8acd5ef46acfab39669db (patch)
tree09572627315c6029e0434702e8330c557476ff06 /library/cpp/actors/interconnect/interconnect_channel.cpp
parent05d934cd8bfcf7ce4b6241d6bd2914cc776877f9 (diff)
downloadydb-23b4cd86157da8b9f0f8acd5ef46acfab39669db.tar.gz
Y_VERIFY_DEBUG->Y_DEBUG_ABORT_UNLESS at '-v ydb'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/actors/interconnect/interconnect_channel.cpp')
-rw-r--r--library/cpp/actors/interconnect/interconnect_channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/actors/interconnect/interconnect_channel.cpp b/library/cpp/actors/interconnect/interconnect_channel.cpp
index ab6af8f8d4..30f384786b 100644
--- a/library/cpp/actors/interconnect/interconnect_channel.cpp
+++ b/library/cpp/actors/interconnect/interconnect_channel.cpp
@@ -188,7 +188,7 @@ namespace NActors {
task.Append<External>(data, len);
}
*bytesSerialized += len;
- Y_VERIFY_DEBUG(len <= PartLenRemain);
+ Y_DEBUG_ABORT_UNLESS(len <= PartLenRemain);
PartLenRemain -= len;
event.EventActuallySerialized += len;
@@ -275,7 +275,7 @@ namespace NActors {
size_t bytesSerialized = 0;
const bool complete = SerializeEvent<false>(task, event, &bytesSerialized);
- Y_VERIFY_DEBUG(bytesSerialized);
+ Y_DEBUG_ABORT_UNLESS(bytesSerialized);
Y_ABORT_UNLESS(bytesSerialized <= Max<ui16>());
TChannelPart part{