• Iustin Pop's avatar
    Add a ‘drained’ attribute to node objects · af64c0ea
    Iustin Pop authored
    This attribute will be used to prevent any allocation on the node (any
    of replace-disks with new secondary this node, failover to the node,
    migration to the node).
    
    The patch adds the attribute and initializes it correctly in cluster
    init and for new nodes.
    
    Reviewed-by: imsnah
    af64c0ea
objects.py 24 KB