Commit 2cf878a5 authored by Iustin Pop's avatar Iustin Pop
Browse files

Show which nodes are not N+1 compliant in output

This patch adds a '*' character to nodes which are not N+1 compliant to
the output, to help with understanding pre- and post-changes cluster
status.
parent 8df5db55
......@@ -198,8 +198,10 @@ list n t =
sl = slist t
mp = p_mem t
dp = p_dsk t
fn = failN1 t
in
printf " %s(%d)\t%5d\t%5d\t%3d\t%3d\t%s\t%s\t%.5f\t%.5f"
printf " %c %s(%d)\t%5d\t%5d\t%3d\t%3d\t%s\t%s\t%.5f\t%.5f"
(if fn then '*' else ' ')
n (idx t) (f_mem t) ((f_dsk t) `div` 1024)
(length pl) (length sl)
(commaJoin (map show pl))
......
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