mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #468 from kuba--/fix-DEGRADED
Lets the remote node to proceed
This commit is contained in:
commit
47481432ef
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