Add an alive node that is not in SMap to the cluster. Use to add a new node to the cluster or get back a node removed by `RemoveNodeFromSmap`
(proxyURL string, node *cluster.Snode)
| 57 | // Add an alive node that is not in SMap to the cluster. |
| 58 | // Use to add a new node to the cluster or get back a node removed by `RemoveNodeFromSmap` |
| 59 | func JoinCluster(proxyURL string, node *cluster.Snode) (string, error) { |
| 60 | return _joinCluster(gctx, proxyURL, node, registerTimeout) |
| 61 | } |
| 62 | |
| 63 | // Restore a node put into maintenance: in this case the node is in |
| 64 | // Smap and canceling maintenance gets the node back. |