Commit 13d580b3 authored by Leigh B Stoller's avatar Leigh B Stoller Committed by Ryan Jackson
Browse files

BUG FIX: Flush the experiment/node caches between phases in

CreateSliver().
parent 60987c4f
......@@ -308,6 +308,10 @@ sub CreateSliver($)
return $rspec
if (GeniResponse::IsResponse($rspec));
# Make sure that the next phase sees all changes.
Experiment->FlushAll();
Node->FlushAll();
my $response = GeniCM::SliverWorkAux($credential,
$rspec, $keys, 0, $impotent, 1, 0);
......@@ -347,6 +351,10 @@ sub CreateSliver($)
return GeniResponse->Create(GENIRESPONSE_ERROR, undef,
"Internal Error");
}
# Make sure that the next phase sees all changes.
Experiment->FlushAll();
Node->FlushAll();
if ($aggregate->Start($API_VERSION, 0) != 0) {
return GeniResponse->Create(GENIRESPONSE_ERROR, undef,
"Could not start sliver");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment