Commit ddd8059b authored by Jonathon Duerig's avatar Jonathon Duerig

Removed '+' prefix from metric feature names. They should not be additive, and...

Removed '+' prefix from metric feature names. They should not be additive, and even if they were, the '+' prefix doesn't accomplish that goal.
parent 1dcd0efc
......@@ -385,10 +385,10 @@ sub InsertMetrics($%)
if (!$impotent) {
DBQueryWarn("replace into node_features ".
" (node_id, feature, weight) ".
" values ('$nodeid', '+load', $scaled)");
" values ('$nodeid', 'load', $scaled)");
DBQueryWarn("replace into node_features ".
" (node_id, feature, weight) ".
" values ('$nodeid', '+disk', $disk)");
" values ('$nodeid', 'disk', $disk)");
}
# finally, insert int/float values into the main comon data table
......
......@@ -132,7 +132,7 @@ if (!$impotent) {
DBQueryWarn("replace into node_features ".
" (node_id, feature, weight) ".
" values ('$nodeid', '+unavail', $weight)");
" values ('$nodeid', 'unavail', $weight)");
}
}
......
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