Merge pull request #22831 from taosdata/enh/TD-24376-3.0
enh/TD-24376: show mnode deployment conditions in log
This commit is contained in:
commit
56160a12de
|
@ -32,8 +32,13 @@ static int32_t mmRequire(const SMgmtInputOpt *pInput, bool *required) {
|
|||
|
||||
if (!option.deploy) {
|
||||
*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 {
|
||||
*required = true;
|
||||
dInfo("deploy mnode required. option deploy:%d", option.deploy);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue