diff options
author | hcpp <hcpp@ydb.tech> | 2023-08-09 18:41:34 +0300 |
---|---|---|
committer | hcpp <hcpp@ydb.tech> | 2023-08-09 20:00:00 +0300 |
commit | 0ddf9b6ef915d289468c42605aab7da131b9e213 (patch) | |
tree | 01fe7e5465a35922b97af69211cbf072adfc89cf | |
parent | ba79508fc0b88215b15da4931f6d5051f2f3f277 (diff) | |
download | ydb-0ddf9b6ef915d289468c42605aab7da131b9e213.tar.gz |
not found as success in case of resource cleaner stage
-rw-r--r-- | ydb/core/fq/libs/compute/ydb/resources_cleaner_actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/fq/libs/compute/ydb/resources_cleaner_actor.cpp b/ydb/core/fq/libs/compute/ydb/resources_cleaner_actor.cpp index 24b5f60585f..628cb31a6f5 100644 --- a/ydb/core/fq/libs/compute/ydb/resources_cleaner_actor.cpp +++ b/ydb/core/fq/libs/compute/ydb/resources_cleaner_actor.cpp @@ -81,13 +81,13 @@ public: void Handle(const TEvYdbCompute::TEvForgetOperationResponse::TPtr& ev) { const auto& response = *ev.Get()->Get(); - if (response.Status != NYdb::EStatus::SUCCESS) { + if (response.Status != NYdb::EStatus::SUCCESS && response.Status != NYdb::EStatus::NOT_FOUND) { LOG_E("Can't forget operation: " << ev->Get()->Issues.ToOneLineString()); Send(Parent, new TEvYdbCompute::TEvResourcesCleanerResponse(ev->Get()->Issues, ev->Get()->Status)); FailedAndPassAway(); return; } - LOG_I("Operation successfully forgotten"); + LOG_I("Operation successfully forgotten " << response.Status); Send(Parent, new TEvYdbCompute::TEvResourcesCleanerResponse({}, NYdb::EStatus::SUCCESS)); CompleteAndPassAway(); } |