diff options
author | Igor Makunin <igor.makunin@gmail.com> | 2022-03-02 16:17:44 +0300 |
---|---|---|
committer | Igor Makunin <igor.makunin@gmail.com> | 2022-03-02 16:17:44 +0300 |
commit | da5fee0e106fbd8993d0aa0d4a8ec8c2ecb6492d (patch) | |
tree | a8ab3c38ac9a5938eb847fdbddcaada4add574a4 | |
parent | 877c29b28196a14225aef9b502e0bb00fc8c5e43 (diff) | |
download | ydb-da5fee0e106fbd8993d0aa0d4a8ec8c2ecb6492d.tar.gz |
KIKIMR-14450: don't fallback on OldEngine in case of UNAVAILABLE or UNDETERMINED errors
ref:871b53a27aef20952200119ee5cee137a7774d7a
-rw-r--r-- | ydb/core/kqp/kqp_worker_actor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ydb/core/kqp/kqp_worker_actor.cpp b/ydb/core/kqp/kqp_worker_actor.cpp index b7f74609f28..87a07e1a9e0 100644 --- a/ydb/core/kqp/kqp_worker_actor.cpp +++ b/ydb/core/kqp/kqp_worker_actor.cpp @@ -583,7 +583,9 @@ public: bool shouldFallback = status != Ydb::StatusIds::CANCELLED && status != Ydb::StatusIds::ABORTED && status != Ydb::StatusIds::OVERLOADED - && status != Ydb::StatusIds::PRECONDITION_FAILED; + && status != Ydb::StatusIds::PRECONDITION_FAILED + && status != Ydb::StatusIds::UNAVAILABLE + && status != Ydb::StatusIds::UNDETERMINED; if (shouldFallback) { QueryState->ForceNewEngineState = {}; QueryState->NewEngineCompatibleQuery = false; |