recoverd: Refactor code to ban misbehaving nodes
authorAmitay Isaacs <amitay@gmail.com>
Fri, 28 Jun 2013 04:31:02 +0000 (14:31 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 07:47:05 +0000 (17:47 +1000)
commitd450c31e37fd4b38a6ac3245a85082769b78935f
tree4ed528e12b5f2afc0a2f2fd4aeec6a4d96d7cf64
parent877923c8aee49eb3ef610d83727f41ae2f9d09ba
recoverd: Refactor code to ban misbehaving nodes

Since we have nodemap information, there is no need to hardcode the
limit of 20.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Pair-Programmed-With: Martin Schwenke <martin@meltin.net>
(cherry picked from commit aea12dce83ef385e9fb3bc03ac7ace0874a0e3fe)
server/ctdb_recoverd.c