aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/interconnect/poller_actor.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/actors/interconnect/poller_actor.cpp
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/actors/interconnect/poller_actor.cpp')
-rw-r--r--library/cpp/actors/interconnect/poller_actor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/interconnect/poller_actor.cpp b/library/cpp/actors/interconnect/poller_actor.cpp
index 9dbd9838aa..e3ddbe8b98 100644
--- a/library/cpp/actors/interconnect/poller_actor.cpp
+++ b/library/cpp/actors/interconnect/poller_actor.cpp
@@ -137,7 +137,7 @@ namespace NActors {
Y_FAIL("WriteEnd.Write() failed with %s", strerror(err));
}
} else {
- Y_VERIFY(nwritten);
+ Y_ABORT_UNLESS(nwritten);
break;
}
}
@@ -160,13 +160,13 @@ namespace NActors {
Y_FAIL("read() failed with %s", strerror(errno));
}
} else {
- Y_VERIFY(n);
+ Y_ABORT_UNLESS(n);
}
}
}
bool ProcessSyncOpQueue() {
- Y_VERIFY(!SyncOperationsQ.IsEmpty());
+ Y_ABORT_UNLESS(!SyncOperationsQ.IsEmpty());
do {
TPollerSyncOperationWrapper *op = SyncOperationsQ.Top();
if (auto *unregister = std::get_if<TPollerUnregisterSocket>(&op->Operation)) {