Bug fixes for snapping coordinators

This commit is contained in:
sramamoorthy 2019-04-08 05:14:07 -07:00 committed by Alex Miller
parent 539e65efad
commit 89b7a052f5
2 changed files with 2 additions and 2 deletions

View File

@ -2316,7 +2316,7 @@ ACTOR Future<Void> executeCoordinators(DatabaseContext* cx, StringRef execPayLoa
}
}
} catch (Error& e) {
TraceEvent(SevError, "NativeAPI.executeCoordinatorsError").error(e);
TraceEvent("NativeAPI.executeCoordinatorsError").error(e);
throw;
}
}

View File

@ -1702,7 +1702,7 @@ ACTOR Future<Void> masterProxyServerCore(
if (coordinatorsAddrSet.find(workers[i].interf.address()) != coordinatorsAddrSet.end()) {
TraceEvent("ExecReqToCoordinator").detail("WorkerAddr", workers[i].interf.address());
try {
wait(timeoutError(workers[i].interf.execReq.getReply(ExecuteRequest(execReq.execPayLoad)), 1.0));
wait(timeoutError(workers[i].interf.execReq.getReply(ExecuteRequest(execReq.execPayLoad)), 3.0));
++numSucc;
} catch (Error& e) {
TraceEvent("ExecReqFailed").detail("What", e.what());