IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39388


Ignore:
Timestamp:
Feb 24, 2016, 10:58:19 AM (10 years ago)
Author:
eugene
Message:

check the return state for the remote hosts and shutdown master on failure (use manual-parallel for a restart)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/launch_region_hosts.c

    r39225 r39388  
    204204int HarvestRegionHosts (RegionHostTable *regionHosts) {
    205205
     206  int i;
    206207  int status = TRUE;
    207208
     
    211212  } else {
    212213    status = RegionHostTableWaitJobsGetIO (regionHosts, __FILE__, __LINE__, VERBOSE);
     214
     215    for (i = 0; i < regionHosts->Nhosts; i++) {
     216      status = status && (regionHosts->hosts[i].status == 0);
     217    }
    213218  }
    214219  return status;
Note: See TracChangeset for help on using the changeset viewer.