mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 11:57:51 +00:00
Lets the remote node to proceed, instead of waiting in DOWN state because cluster is in STARTING state.
This commit is contained in:
parent
7f4142497e
commit
87306d3145
1 changed files with 3 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue