MCPcopy Create free account
hub / github.com/NVIDIA/aistore / JoinCluster

Function JoinCluster

devtools/tutils/node.go:59–61  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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`
59func 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.

Calls 1

_joinClusterFunction · 0.85