ctdb-recoverd: Fix node_pnn check and assignment of nodemap into array
commita1f00ebef11708808c399f8b0d446b309e5da016
authorMartin Schwenke <martin@meltin.net>
Thu, 30 Jul 2020 01:57:51 +0000 (30 11:57 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 27 Aug 2020 10:48:08 +0000 (27 10:48 +0000)
tree213688d1f9c282102e2dc683fb60447b90b91c95
parentda94f78c55e2c06ebb3a581f8e00da496806ef0e
ctdb-recoverd: Fix node_pnn check and assignment of nodemap into array

This array is indexed by the same index as nodemap, not the PNN.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 368c83bfe3bbfff568d14f65e7b1ffa41d5349ac)
ctdb/server/ctdb_recoverd.c