Commit c78e9c71 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Ah, just get rid of the expt_locked check. Not worth the trouble and

its going to get replaced at some point by a busy state. The swap
scripts properly set the next state before unlocking the experiments
table, which possibly leaves some small races as experiments
transition through states (which happens with the table unlocked,
cause I used to have this really handy variable called expt_locked,
which no one really likes anymore).

We either have to use more table locking, fix up expt_locked, or punt
and say it won't happen more than once in a few thousand operations!
parent 4aae6ce5
......@@ -384,14 +384,6 @@ else {
"or modify the experiment.\n")
if ($canceled);
# Must be unlocked if called by the user.
"Experiment $pid/$eid went into transition at $expt_locked!\n".
"You must wait until it is no longer in transition.\n")
if (defined($expt_locked));
# Check the state for the various operations.
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