ctdb-recoverd: Add function node_flags() and use it in elections
commit0b5dd076046f254bb8d60c1b4377c32a3dc59a10
authorMartin Schwenke <martin@meltin.net>
Wed, 29 Jul 2020 07:57:53 +0000 (29 17:57 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 22 Jul 2022 16:09:31 +0000 (22 16:09 +0000)
tree09efb22468788bf0c12300470cadba9c9c6072ae
parente396eb9fbc7b843181cf095051221305ff3578ed
ctdb-recoverd: Add function node_flags() and use it in elections

Indexing a node map by PNN is suboptimal.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c