• Michael Schurter's avatar
    client: do not restart dead tasks until server is contacted · e7042b67
    Michael Schurter authored
    Fixes #1795
    
    Running restored allocations and pulling what allocations to run from
    the server happen concurrently. This means that if a client is rebooted,
    and has its allocations rescheduled, it may restart the dead allocations
    before it contacts the server and determines they should be dead.
    
    This commit makes tasks that fail to reattach on restore wait until the
    server is contacted before restarting.
    e7042b67