• Leigh Stoller's avatar
    Merge the two state machines (batchstate and state) into a single · 2025e0bd
    Leigh Stoller authored
    state machine (state). All of the stuff that was previously handled by
    using batchstate is now embedded into the one state machine. Of
    course, these mostly overlapped, so its not that much of a change,
    except that we also redid the machine, adding more states (for
    example, modify phases are now explicit. To get a picture of the
    actual state machine, on boss:
    
    		stategraph -o newstates EXPTSTATE
    		gv newstates.ps
    
    Things to note:
    
    * The "batchstate" slot of the experiments table is now used solely to
      provide a lock for batch daemon. A secondary change will be to
      change the slot name to something more appropriate, but it can
      happen anytime after this new stuff is installed.
    
    * I have left expt_locked for now, but another later change will be to remove
      expt_locked, and change it to active_busy or some such new state name in
      the state machine. I have removed most uses of expt_locked, except those
      that were necessary until there is a new state to replace it.
    
    * These new changes are an implementation of the new state machine,
      but I have not done anything fancy. Most of the code is the same as
      it was before.
    
    * I suspect that there are races with the batch daemon now, but they
      are going to be rare, and the end result is probably that a
      cancelation is delayed a little bit.
    2025e0bd
Name
Last commit
Last update
..
autostatus-icons Loading commit data...
buildui Loading commit data...
cvsweb Loading commit data...
doc Loading commit data...
downloads Loading commit data...
pix Loading commit data...
tutorial Loading commit data...
webdb Loading commit data...
.htaccess Loading commit data...
GNUmakefile.in Loading commit data...
TOCHECK Loading commit data...
TODO Loading commit data...
apc.php Loading commit data...
approveproject.php3 Loading commit data...
approveproject_form.php3 Loading commit data...
approveproject_list.php3 Loading commit data...
approveuser.php3 Loading commit data...
approveuser_form.php3 Loading commit data...
approvewauser.php3 Loading commit data...
approvewauser_form.php3 Loading commit data...
auth.html Loading commit data...
beginexp.php3 Loading commit data...
blueball.gif Loading commit data...
boot.php3 Loading commit data...
cdrom.php Loading commit data...
cdromcheckin.php3 Loading commit data...
cdromdownload.php Loading commit data...
cdrominstallhelp.php Loading commit data...
cdromnewkey.php Loading commit data...
cdromqueue.php3 Loading commit data...
cdromrequest.php3 Loading commit data...
changeall.csh Loading commit data...
clearapc.php Loading commit data...
coming-soon-thumb.gif Loading commit data...
common-style.css Loading commit data...
console.gif Loading commit data...
cool.gif Loading commit data...
copyright.html Loading commit data...
dbdefs.php3.in Loading commit data...
defs.php3.in Loading commit data...
delaycontrol.php3 Loading commit data...
deletegroup.php3 Loading commit data...
deleteimageid.php3 Loading commit data...
deletenodelog.php3 Loading commit data...
deleteosid.php3 Loading commit data...
deleteproject.php3 Loading commit data...
deletepubkey.php3 Loading commit data...
deletesfskey.php3 Loading commit data...
deleteuser.php3 Loading commit data...
doc.php3 Loading commit data...
docwrapper.php3 Loading commit data...
editexp.php3 Loading commit data...
editgroup.php3 Loading commit data...
editgroup_form.php3 Loading commit data...
editimageid.php3 Loading commit data...
editimageid_form.php3 Loading commit data...
editsitevars.php3 Loading commit data...
emailus.php3 Loading commit data...
endexp.php3 Loading commit data...
error.php3 Loading commit data...
error.shtml Loading commit data...
expaccess.php3 Loading commit data...
expaccess_form.php3 Loading commit data...
explist.php3 Loading commit data...
faq.html Loading commit data...
faq.php3 Loading commit data...
favicon.ico Loading commit data...
freenode.php3 Loading commit data...
freezeuser.php3 Loading commit data...
greenball.gif Loading commit data...
groups.html Loading commit data...
hardware.html Loading commit data...
headerbgbb.jpg Loading commit data...
index.html Loading commit data...
index.php3 Loading commit data...
java.html Loading commit data...
joinproject.php3 Loading commit data...
lanicon.png Loading commit data...
loadimage.php3 Loading commit data...
login.php3 Loading commit data...
logoff.gif Loading commit data...
logon.gif Loading commit data...
logout.php3 Loading commit data...
menu.php3 Loading commit data...
modifyexp.php3 Loading commit data...
moduserinfo.php3 Loading commit data...
netbed-icon-howto.txt Loading commit data...
netbed.ico Loading commit data...
netbed.png Loading commit data...
netemu.php3 Loading commit data...
new.gif Loading commit data...
newgroup.php3 Loading commit data...
newgroup_form.php3 Loading commit data...
newimageid.php3 Loading commit data...
newimageid_ez.php3 Loading commit data...
newnode-defs.php3 Loading commit data...
newnode_edit.php3 Loading commit data...
newnodecheckin.php Loading commit data...
newnodelog.php3 Loading commit data...
newnodelog_form.php3 Loading commit data...
newnodes_list.php3 Loading commit data...
newosid.php3 Loading commit data...
newosid_form.php3 Loading commit data...
newproject.php3 Loading commit data...
news.php3 Loading commit data...
nodecontrol.php3 Loading commit data...
nodecontrol_form.php3 Loading commit data...
nodecontrol_list.php3 Loading commit data...
nodeicon.png Loading commit data...
nodemon.php3 Loading commit data...
nodemon_all.php3 Loading commit data...
nodessh.php3 Loading commit data...
nodetipacl.php3 Loading commit data...
nologins.php3 Loading commit data...
nscheck.php3 Loading commit data...
nscheck_form.php3 Loading commit data...
otheremulabs.html Loading commit data...
overlay.emulab.net.gif Loading commit data...
overlay.gif Loading commit data...
overlay.mac.emulab.net.gif Loading commit data...
overlay.mini.emulab.net.gif Loading commit data...
overlay.netlab.cc.gatech.edu.gif Loading commit data...
overlay.uky.emulab.net.gif Loading commit data...
password.php3 Loading commit data...
people.php3 Loading commit data...
plabmetrics.php3 Loading commit data...
plabstats.php3 Loading commit data...
policies.html Loading commit data...
projectlist.php3 Loading commit data...
pubs.html Loading commit data...
pubs.php3 Loading commit data...
redball.gif Loading commit data...
reqaccount.php3 Loading commit data...
request_swapexp.php3 Loading commit data...
requestaccount.gif Loading commit data...
resendkey.php3 Loading commit data...
sc2002tut.php3 Loading commit data...
search.php3 Loading commit data...
security.html Loading commit data...
sendemail.php3 Loading commit data...
showexp.php3 Loading commit data...
showexp_list.php3 Loading commit data...
showexpstats.php3 Loading commit data...
showgroup.php3 Loading commit data...
showimageid.php3 Loading commit data...
showimageid_list.php3 Loading commit data...
shownode.php3 Loading commit data...
shownodelog.php3 Loading commit data...
shownodetype.php3 Loading commit data...
shownsfile.php3 Loading commit data...
showosid_list.php3 Loading commit data...
showosinfo.php3 Loading commit data...
showproject.php3 Loading commit data...
showproject_list.php3 Loading commit data...
showpubkeys.php3 Loading commit data...
showsfskeys.php3 Loading commit data...
showstats.php3 Loading commit data...
showstuff.php3 Loading commit data...
showsumstats.php3 Loading commit data...
showthumb.php3 Loading commit data...
showuser.php3 Loading commit data...
showuser_list.php3 Loading commit data...
software.html Loading commit data...
software.php3 Loading commit data...
spewlogfile.php3 Loading commit data...
spewrpmtar.php3 Loading commit data...
spitnsdata.php3 Loading commit data...
sponsors.html Loading commit data...
ssh-mime-windows.pl Loading commit data...
ssh-mime.html Loading commit data...
ssh-mime.pl Loading commit data...
ssh.gif Loading commit data...
start.php3 Loading commit data...
style-nonmain.css Loading commit data...
style.css Loading commit data...
survey.php3 Loading commit data...
swapexp.php3 Loading commit data...
swapping.html Loading commit data...
tbauth.php3 Loading commit data...
tbstyle-doc.css Loading commit data...
tbstyle-plain.css Loading commit data...
tbstyle.css Loading commit data...
toggle.php Loading commit data...
top2image.php3 Loading commit data...
updateaccounts.php3 Loading commit data...
updown.php3 Loading commit data...
verifyusr.php3 Loading commit data...
verifyusr_form.php3 Loading commit data...
wallpaper0.jpg Loading commit data...
wallpaper1.png Loading commit data...
widearea.html Loading commit data...
widearea_info.php3 Loading commit data...
widearea_redirect.php Loading commit data...
widearea_register.php Loading commit data...
wideareakeys.php3 Loading commit data...