aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/actorid.h
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/core/actorid.h
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/core/actorid.h')
-rw-r--r--library/cpp/actors/core/actorid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/core/actorid.h b/library/cpp/actors/core/actorid.h
index df1cac1c4e..4e9a7bc3c3 100644
--- a/library/cpp/actors/core/actorid.h
+++ b/library/cpp/actors/core/actorid.h
@@ -43,7 +43,7 @@ namespace NActors {
}
explicit TActorId(ui32 nodeId, ui32 poolId, ui64 localId, ui32 hint) noexcept {
- Y_VERIFY_DEBUG(poolId <= MaxPoolID);
+ Y_DEBUG_ABORT_UNLESS(poolId <= MaxPoolID);
Raw.N.LocalId = localId;
Raw.N.Hint = hint;
Raw.N.NodeId = nodeId | (poolId << PoolIndexShift);
@@ -83,7 +83,7 @@ namespace NActors {
}
TStringBuf ServiceId() const noexcept {
- Y_VERIFY_DEBUG(IsService());
+ Y_DEBUG_ABORT_UNLESS(IsService());
return TStringBuf((const char*)Raw.Buf, MaxServiceIDLength);
}
@@ -166,7 +166,7 @@ namespace NActors {
struct TOrderedCmp {
bool operator()(const TActorId &left, const TActorId &right) const noexcept {
- Y_VERIFY_DEBUG(!left.IsService() && !right.IsService(), "ordered compare works for plain actorids only");
+ Y_DEBUG_ABORT_UNLESS(!left.IsService() && !right.IsService(), "ordered compare works for plain actorids only");
const ui32 n1 = left.NodeId();
const ui32 n2 = right.NodeId();