| 209 | } |
| 210 | |
| 211 | void Coordinator::BackendState::SetExecError( |
| 212 | const Status& status, TypedCountingBarrier<Status>* exec_status_barrier) { |
| 213 | const string ERR_TEMPLATE = "ExecQueryFInstances rpc query_id=$0 failed: $1"; |
| 214 | const string& err_msg = |
| 215 | Substitute(ERR_TEMPLATE, PrintId(query_id_), status.msg().GetFullMessageDetails()); |
| 216 | LOG(ERROR) << err_msg; |
| 217 | status_ = Status::Expected(err_msg); |
| 218 | exec_done_ = true; |
| 219 | exec_status_barrier->NotifyRemaining(status); |
| 220 | } |
| 221 | |
| 222 | void Coordinator::BackendState::WaitOnExecRpc() { |
| 223 | unique_lock<mutex> l(lock_); |
nothing calls this directly
no test coverage detected