Merge pull request #5370 from kakaiu/add_trace_event_for_role_recruitment_by_CC
Add trace event for role recruitment by CC
This commit is contained in:
commit
72f4ad5451
|
@ -3592,6 +3592,8 @@ ACTOR Future<Void> clusterRecruitFromConfiguration(ClusterControllerData* self,
|
|||
return Void();
|
||||
} else if (e.code() == error_code_operation_failed || e.code() == error_code_no_more_servers) {
|
||||
// recruitment not good enough, try again
|
||||
TraceEvent("RecruitFromConfigurationRetry", self->id).error(e)
|
||||
.detail("GoodRecruitmentTimeReady", self->goodRecruitmentTime.isReady());
|
||||
} else {
|
||||
TraceEvent(SevError, "RecruitFromConfigurationError", self->id).error(e);
|
||||
throw; // goodbye, cluster controller
|
||||
|
@ -3617,6 +3619,8 @@ ACTOR Future<Void> clusterRecruitRemoteFromConfiguration(ClusterControllerData*
|
|||
return Void();
|
||||
} else if (e.code() == error_code_operation_failed || e.code() == error_code_no_more_servers) {
|
||||
// recruitment not good enough, try again
|
||||
TraceEvent("RecruitRemoteFromConfigurationRetry", self->id).error(e)
|
||||
.detail("GoodRecruitmentTimeReady", self->goodRemoteRecruitmentTime.isReady());
|
||||
} else {
|
||||
TraceEvent(SevError, "RecruitRemoteFromConfigurationError", self->id).error(e);
|
||||
throw; // goodbye, cluster controller
|
||||
|
|
Loading…
Reference in New Issue