It is safe to use 'coord_' directly for the following two methods since they are safe to call concurrently with Coordinator::Exec(). See comments for 'coord_' and 'coord_exec_called_' for more details.
| 2144 | // to call concurrently with Coordinator::Exec(). See comments for 'coord_' and |
| 2145 | // 'coord_exec_called_' for more details. |
| 2146 | Status ClientRequestState::UpdateBackendExecStatus( |
| 2147 | const ReportExecStatusRequestPB& request, |
| 2148 | const TRuntimeProfileForest& thrift_profiles) { |
| 2149 | DCHECK(coord_.get()); |
| 2150 | return coord_->UpdateBackendExecStatus(request, thrift_profiles); |
| 2151 | } |
| 2152 | |
| 2153 | void ClientRequestState::UpdateFilter( |
| 2154 | const UpdateFilterParamsPB& params, RpcContext* context) { |