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

Add update (replace delayed) of new node_status table in isalive().

Still updating the old table though, until the mods are complete.
parent fee19328
......@@ -3596,6 +3596,14 @@ COMMAND_PROTOTYPE(doisalive)
"where node_id='%s' or phys_nodeid='%s'",
reqp->nodeid, reqp->nodeid);
}
/*
* New stuff. Old stuff above will come out when node_status
* table completely implemented.
*/
mydb_update("replace delayed into node_status "
" (node_id, status, status_timestamp) "
" values ('%s', 'up', now())",
reqp->nodeid);
/*
* Return info about what needs to be updated.
......
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