1
1

Fix a C/R checkpoint->restart->checkpoint->restart case.

The problem is that the SStore components were not flushing the old, stale checkpoint information. As a result the checkpoint was writing into the wrong directory, which produced an invalid checkpoint.

This seems to be fixed now. Thanks to Alex Brick for the bug report.

This commit was SVN r24325.
Этот коммит содержится в:
Josh Hursey 2011-01-28 21:25:14 +00:00
родитель 45b222ecec
Коммит 5b58ff0663
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -208,6 +208,11 @@ int orte_sstore_central_app_register(orte_sstore_base_handle_t handle)
* Create a handle
*/
orte_sstore_handle_current = handle;
handle_info = find_handle_info(handle);
if( NULL != handle_info ) {
/* Remove the old, stale handle */
opal_list_remove_item(active_handles, &(handle_info->super));
}
handle_info = create_new_handle_info(handle);
/*

Просмотреть файл

@ -208,6 +208,11 @@ int orte_sstore_stage_app_register(orte_sstore_base_handle_t handle)
* Create a handle
*/
orte_sstore_handle_current = handle;
handle_info = find_handle_info(handle);
if( NULL != handle_info ) {
/* Remove the old, stale handle */
opal_list_remove_item(active_handles, &(handle_info->super));
}
handle_info = create_new_handle_info(handle);
/*