From 87306d314590762ded11b906c0725e349119025f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Podg=C3=B3rski?= Date: Wed, 17 Jun 2020 11:37:30 +0200 Subject: [PATCH] Lets the remote node to proceed, instead of waiting in DOWN state because cluster is in STARTING state. --- cluster.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cluster.go b/cluster.go index eacad25f7..669d2bbce 100644 --- a/cluster.go +++ b/cluster.go @@ -2036,7 +2036,9 @@ func (c *cluster) nodeJoin(node *Node) error { if c.haveTopologyAgreement() { return c.unprotectedSetStateAndBroadcast(ClusterStateNormal) } - return nil + // This lets the remote node to proceed with opening its holder, + // instead of waiting in DOWN state because cluster is in STARTING state. + return c.sendTo(node, c.unprotectedStatus()) } else if err != nil { return errors.Wrap(err, "checking if holder has data") }