diff --git a/src/yb/integration-tests/wait_states-itest.cc b/src/yb/integration-tests/wait_states-itest.cc index a59c6dba449b..91e286d3260b 100644 --- a/src/yb/integration-tests/wait_states-itest.cc +++ b/src/yb/integration-tests/wait_states-itest.cc @@ -462,6 +462,9 @@ void WaitStateTestCheckMethodCounts::VerifyCountsUnlocked() { // It is acceptable that some calls may not have populated their aux_info yet. // This probability should be very low. ASSERT_LE(method_counts_[""], 2 * num_ash_calls * kProbNoMethod); + + // We ignore ASH calls from showing up during the pull. + ASSERT_EQ(wait_state_code_counts_["kDumpRunningRpc_WaitOnReactor"], 0); } bool WaitStateTestCheckMethodCounts::IsDone() { diff --git a/src/yb/tserver/pg_client_service.cc b/src/yb/tserver/pg_client_service.cc index 1b973618412e..42e0de4c039a 100644 --- a/src/yb/tserver/pg_client_service.cc +++ b/src/yb/tserver/pg_client_service.cc @@ -1390,6 +1390,7 @@ class PgClientServiceImpl::Impl { for (const auto& call : conn.calls_in_flight()) { if (ShouldIgnoreCall(req, call)) { VLOG(3) << "Ignoring " << call.wait_state().DebugString(); + continue; } auto* wait_state = resp->add_wait_states(); wait_state->CopyFrom(call.wait_state());