IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36997


Ignore:
Timestamp:
Jul 11, 2014, 8:42:02 AM (12 years ago)
Author:
eugene
Message:

do not forget to release the image host lock in non-parallel-db mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610/Ohana/src/relastro/src/load_catalogs.c

    r36833 r36997  
    102102  }
    103103
     104  // if we are running with parallel_images but not a parallel database, we need to
     105  // release the lock so the next image host can proceed
     106  if (!hostID && syncfile) {
     107    update_sync_file (syncfile, 1);
     108  }
     109
    104110  // only return the populated catalogs
    105111  REALLOCATE (catalog, Catalog, Ncat);
     
    215221  }
    216222
    217   // update syncfile here (save lots of I/O time)
     223  // update syncfile here (save lots of I/O time):
     224
     225  // at this point, the remote relastro_client jobs are done loading their data.  in a
     226  // parallel_images mode, the next image host can be launched while this image host now
     227  // reads that
    218228
    219229  // NOTE: if I let all hosts load blindly, I saturate the data clients with too many
Note: See TracChangeset for help on using the changeset viewer.