allocate brokers to serve segments

This commit is contained in:
chrislu
2022-07-11 00:20:27 -07:00
parent 24291e23eb
commit 1112dab4f3
12 changed files with 1311 additions and 254 deletions

View File

@@ -86,6 +86,9 @@ func (c *commandClusterPs) Do(args []string, commandEnv *CommandEnv, writer io.W
if node.Rack != "" {
fmt.Fprintf(writer, " Rack: %v\n", node.Rack)
}
if node.IsLeader {
fmt.Fprintf(writer, " IsLeader: %v\n", true)
}
}
}