From a20d38a724f45586399a353bbc3c28ec186a6f0e Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Fri, 25 Mar 2011 19:20:06 +0000 Subject: [PATCH] BLUEGENE - fix for handling nodes not in the curr_list on clean start --- src/plugins/select/bluegene/select_bluegene.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/select/bluegene/select_bluegene.c b/src/plugins/select/bluegene/select_bluegene.c index 1aadaffbee9..4238b7e62b8 100644 --- a/src/plugins/select/bluegene/select_bluegene.c +++ b/src/plugins/select/bluegene/select_bluegene.c @@ -219,6 +219,8 @@ static int _delete_old_blocks(List curr_block_list, List found_block_list) itr_curr = list_iterator_create(curr_block_list); while ((init_record = list_next(itr_curr))) { list_remove(itr_curr); + /* make sure we query the state here. */ + list_push(bg_lists->main, init_record); list_push(destroy_list, init_record); } list_iterator_destroy(itr_curr); @@ -237,6 +239,8 @@ static int _delete_old_blocks(List curr_block_list, List found_block_list) if (found_record == NULL) { list_remove(itr_curr); + /* make sure we query the state here. */ + list_push(bg_lists->main, init_record); list_push(destroy_list, init_record); } } -- GitLab