summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/file_reader.cpp
diff options
context:
space:
mode:
authorilnurkh <[email protected]>2023-10-09 20:25:13 +0300
committerilnurkh <[email protected]>2023-10-09 20:46:53 +0300
commit6ef6895772bc473a21252db8a2a9f4c1b179841c (patch)
treed02a2d6e7014703f915b4042d8648196847186a6 /yt/cpp/mapreduce/client/file_reader.cpp
parentc9bb61f5c70bf0d4194b5d6285afc1e5447130e4 (diff)
Y_VERIFY->Y_ABORT_UNLESS at ^yt
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'yt/cpp/mapreduce/client/file_reader.cpp')
-rw-r--r--yt/cpp/mapreduce/client/file_reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/client/file_reader.cpp b/yt/cpp/mapreduce/client/file_reader.cpp
index 35b21336514..5454b9b11f6 100644
--- a/yt/cpp/mapreduce/client/file_reader.cpp
+++ b/yt/cpp/mapreduce/client/file_reader.cpp
@@ -153,7 +153,7 @@ NHttpClient::IHttpResponsePtr TFileReader::Request(const TClientContext& context
header.SetOutputFormat(TMaybe<TFormat>()); // Binary format
if (EndOffset_) {
- Y_VERIFY(*EndOffset_ >= currentOffset);
+ Y_ABORT_UNLESS(*EndOffset_ >= currentOffset);
FileReaderOptions_.Length(*EndOffset_ - currentOffset);
}
FileReaderOptions_.Offset(currentOffset);