| 1495 | } |
| 1496 | |
| 1497 | string Coordinator::GetErrorLog() { |
| 1498 | DCHECK(exec_rpcs_complete_.Load()) << "Exec() must be called first"; |
| 1499 | ErrorLogMap merged; |
| 1500 | { |
| 1501 | lock_guard<SpinLock> l(backend_states_init_lock_); |
| 1502 | for (BackendState* state: backend_states_) state->MergeErrorLog(&merged); |
| 1503 | } |
| 1504 | return PrintErrorMapToString(merged); |
| 1505 | } |
| 1506 | |
| 1507 | void Coordinator::ReleaseExecResources() { |
| 1508 | lock_guard<shared_mutex> lock(filter_routing_table_->lock); // Exclusive lock. |
no test coverage detected