true when present and in maintenance (compare w/ GetNodeNotMaint)
(si *Snode)
| 473 | |
| 474 | // true when present and in maintenance (compare w/ GetNodeNotMaint) |
| 475 | func (m *Smap) PresentInMaint(si *Snode) (ok bool) { |
| 476 | node := m.GetNode(si.ID()) |
| 477 | return node != nil && node.IsAnySet(NodeFlagsMaintDecomm) |
| 478 | } |
| 479 | |
| 480 | func (m *Smap) IsIC(psi *Snode) (ok bool) { |
| 481 | node := m.GetProxy(psi.ID()) |