diff --git a/lib/db_ido/idochecktask.cpp b/lib/db_ido/idochecktask.cpp index 049928e4f..987dc3229 100644 --- a/lib/db_ido/idochecktask.cpp +++ b/lib/db_ido/idochecktask.cpp @@ -98,6 +98,13 @@ void IdoCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckResult double qps = conn->GetQueryCount(60) / 60.0; + if (conn->IsPaused()) { + cr->SetOutput("IDO connection is temporarily disabled on this cluster instance."); + cr->SetState(ServiceOK); + checkable->ProcessCheckResult(cr); + return; + } + if (!conn->GetConnected()) { if (conn->GetShouldConnect()) { cr->SetOutput("Could not connect to the database server.");