diff options
author | hor911 <hor911@yandex-team.ru> | 2022-03-13 23:41:50 +0300 |
---|---|---|
committer | hor911 <hor911@yandex-team.ru> | 2022-03-13 23:41:50 +0300 |
commit | 0465734d08fac3cc2019be87f9736d324f49eeee (patch) | |
tree | 1131c752c32d13439b2dad34d24871673feb5068 | |
parent | 028c97b258178ff22ba249eeed5cc6ddf0a9819a (diff) | |
download | ydb-0465734d08fac3cc2019be87f9736d324f49eeee.tar.gz |
Ignore issues in case of user-requested abort
ref:e5629a213411504372b22903322674a20b9f1c6d
-rw-r--r-- | ydb/core/yq/libs/actors/run_actor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/core/yq/libs/actors/run_actor.cpp b/ydb/core/yq/libs/actors/run_actor.cpp index 26728458d6..451a9f7db1 100644 --- a/ydb/core/yq/libs/actors/run_actor.cpp +++ b/ydb/core/yq/libs/actors/run_actor.cpp @@ -296,7 +296,8 @@ private: switch (Action) { case YandexQuery::ABORT: case YandexQuery::ABORT_GRACEFULLY: // not fully implemented - Abort("Aborted by user", YandexQuery::QueryMeta::ABORTED_BY_USER); + // ignore issues in case of controlled abort + Finish(YandexQuery::QueryMeta::ABORTED_BY_USER); break; case YandexQuery::PAUSE: // not implemented case YandexQuery::PAUSE_GRACEFULLY: // not implemented |