enh: add log for deploy mnode

This commit is contained in:
Shungang Li 2023-10-18 16:58:58 +08:00
parent c6dd73b68b
commit 5b69b584c3
1 changed files with 5 additions and 0 deletions

View File

@ -32,8 +32,13 @@ static int32_t mmRequire(const SMgmtInputOpt *pInput, bool *required) {
if (!option.deploy) { if (!option.deploy) {
*required = mmDeployRequired(pInput); *required = mmDeployRequired(pInput);
if (*required) {
dInfo("deploy mnode required. dnodeId:%d<=0, clusterId:%" PRId64 "<=0, localEp:%s==firstEp",
pInput->pData->dnodeId, pInput->pData->clusterId, tsLocalEp);
}
} else { } else {
*required = true; *required = true;
dInfo("deploy mnode required. option deploy:%d", option.deploy);
} }
return 0; return 0;