Skip to content
  • Iustin Pop's avatar
    Watcher: do not activate disks for started instances · eee1fa2d
    Iustin Pop authored
    Currently the watcher runs first the instance startup and then the
    boot-id method of disk reactivation. However, irrelevant of the fact
    that a node has rebooted or not, if we just started an instance, there's
    no need for its disks to be activated again, since the start instance
    has done that (if it is at all possible).
    
    The patch modifies the watcher to remember all started instances and not
    run activate-disks for them.
    
    Reviewed-by: ultrotter
    eee1fa2d