mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-04 09:59:16 +00:00
Print trace log if not enough master nodes could be found.
This commit is contained in:
parent
25a21c6a01
commit
6547ff3eb0
@ -818,6 +818,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
|
|||||||
// if we don't have enough master nodes, we bail, even if we get a response that indicates
|
// if we don't have enough master nodes, we bail, even if we get a response that indicates
|
||||||
// there is a master by other node, we don't see enough...
|
// there is a master by other node, we don't see enough...
|
||||||
if (!electMaster.hasEnoughMasterNodes(possibleMasterNodes)) {
|
if (!electMaster.hasEnoughMasterNodes(possibleMasterNodes)) {
|
||||||
|
logger.trace("not enough master nodes [{}]", possibleMasterNodes);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user