Commit 5d56a8eb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9cb8a1c6
......@@ -107,7 +107,7 @@ type nodeCome struct {
// nodeLeave represents "node (should be) disconnected" event.
type nodeLeave struct {
node *xneo.PeerNode
peer *_MasteredPeer
}
// _MasteredPeer represents context for all tasks related to one peer driven by master.
......@@ -438,7 +438,15 @@ loop:
*/
}()
// XXX <-m.nodeLeave
case n := <-m.nodeLeaveq:
// XXX -> move to func
peer := n.peer
// XXX link.Close
// XXX node.ResetLink
delete(m.peerTab, peer.node.NID)
m.updateNodeState(ctx, peer.node, proto.DOWN)
// a storage node came through recovery - let's see whether
// ptid ↑ and if so we should take partition table from there
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment