Commit 370ef7a4 authored by Leigh B Stoller's avatar Leigh B Stoller

Unlock tables in cleanup, in case we caught the signal while

tables were locked. Maybe we should block signals during this
time, typically we are signaled when cause the experiment is
being terminated or modified anyway.
parent 71820415
#!/usr/bin/perl -wT
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# Copyright (c) 2000-2010, 2013 University of Utah and the Flux Group.
......@@ -603,6 +603,12 @@ sub fatal($)
my $msg = shift;
# In case we get killed while updating the vis node info.
# We be smarter, but it really does not matter too much.
DBQueryWarn("unlock tables");
DBQueryFatal("DELETE FROM vis_nodes WHERE pid='$pid' AND eid='$eid'");
die("*** $0:\n".
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