diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-10 22:08:24 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-10 22:24:51 +0300 |
commit | e9179704dc5dd5436bd6439b215c469100e1180d (patch) | |
tree | c5eb673e63ea144fc1c08dc35637d0753585bf42 | |
parent | 7e9311384db5c8eb034ae26b94f8f4b76e60f5ac (diff) | |
download | ydb-e9179704dc5dd5436bd6439b215c469100e1180d.tar.gz |
Y_VERIFY->Y_ABORT_UNLESS at '.' (Y_VERIFY with space)
https://clubs.at.yandex-team.ru/arcadia/29404
-rw-r--r-- | ydb/core/blobstorage/incrhuge/incrhuge.h | 2 | ||||
-rw-r--r-- | ydb/library/yql/providers/dq/actors/worker_actor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/blobstorage/incrhuge/incrhuge.h b/ydb/core/blobstorage/incrhuge/incrhuge.h index 15c76c058c4..425636887d0 100644 --- a/ydb/core/blobstorage/incrhuge/incrhuge.h +++ b/ydb/core/blobstorage/incrhuge/incrhuge.h @@ -100,7 +100,7 @@ namespace NKikimr { }; // TEvIncrHugeRead request is sent from VDisk to read previously written blob. User should provide correct and - // existing blob id, otherwise system will crash on Y_VERIFY (because VDisk's database became inconsistent). + // existing blob id, otherwise system will crash on Y_ABORT_UNLESS(because VDisk's database became inconsistent). // If Size field is zero, then blob is read up to end starting at Offset. struct TEvIncrHugeRead : public NActors::TEventLocal<TEvIncrHugeRead, TEvBlobStorage::EvIncrHugeRead> { ui8 Owner; // the owner who wants to read the data diff --git a/ydb/library/yql/providers/dq/actors/worker_actor.cpp b/ydb/library/yql/providers/dq/actors/worker_actor.cpp index cf8fdc6b555..674fc8c66ac 100644 --- a/ydb/library/yql/providers/dq/actors/worker_actor.cpp +++ b/ydb/library/yql/providers/dq/actors/worker_actor.cpp @@ -418,7 +418,7 @@ private: Send(SelfId(), MakeHolder<TEvDqFailure>(NYql::NDqProto::StatusIds::UNSPECIFIED, response.GetErrorMessage())); return; } - Y_VERIFY (responseType == FINISH || responseType == CONTINUE); + Y_ABORT_UNLESS(responseType == FINISH || responseType == CONTINUE); if (responseType == FINISH) { Send(TaskRunnerActor, new TEvPush(channel.ChannelId)); } else { |