From fa3f6485d8f712bb44c3dc9e89ae548ce3747df4 Mon Sep 17 00:00:00 2001 From: Josh Hursey Date: Mon, 31 Jan 2011 19:09:47 +0000 Subject: [PATCH] Make sure to define the region of time in which the migration is occurring so that the automatic recovery does not jump in the middle when we are moving processes around. This commit was SVN r24326. --- orte/mca/errmgr/hnp/errmgr_hnp_crmig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orte/mca/errmgr/hnp/errmgr_hnp_crmig.c b/orte/mca/errmgr/hnp/errmgr_hnp_crmig.c index 678c9fd988..63d21e1322 100644 --- a/orte/mca/errmgr/hnp/errmgr_hnp_crmig.c +++ b/orte/mca/errmgr/hnp/errmgr_hnp_crmig.c @@ -657,6 +657,7 @@ static int errmgr_crmig_global_migrate(opal_list_t *off_procs, opal_list_t *off_ cur_datum = OBJ_NEW(orte_snapc_base_quiesce_t); cur_datum->migrating = true; migrating_underway = true; + mca_errmgr_hnp_component.crmig_in_progress = true; current_migration_status = ORTE_ERRMGR_MIGRATE_STATE_RUNNING; if( ORTE_SUCCESS != (ret = orte_errmgr_base_migrate_update(current_migration_status)) ) { @@ -1081,6 +1082,7 @@ static int errmgr_crmig_global_migrate(opal_list_t *off_procs, opal_list_t *off_ migrating_underway = false; migrating_terminated = false; migrating_restarted = false; + mca_errmgr_hnp_component.crmig_in_progress = false; if( NULL != err_str_procs ) { free(err_str_procs);