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

A hack for Mike. Add a node_history table to store all moves in and

out of the reserved table. Mostly this happens in nfree and nalloc,
but there a couple of other moves, in libdb and in the reload daemon.
The uid and experiment are stored, long with a timestamp.
parent 26b318a2
#!/usr/bin/perl -w
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved.
......@@ -925,6 +925,8 @@ sub handleCtrlEvent($$) {
DBQueryFatal("delete from scheduled_reloads ".
"where node_id='$node'");
DBQueryFatal("delete from reserved where node_id='$node'");
$UID, $pid, $eid);
info("Released $node from $pid/$eid\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