ctdb-recoverd: Fix node_pnn check and assignment of nodemap into array
authorMartin Schwenke <martin@meltin.net>
Thu, 30 Jul 2020 01:57:51 +0000 (11:57 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 18 Aug 2020 05:02:25 +0000 (05:02 +0000)
commit368c83bfe3bbfff568d14f65e7b1ffa41d5349ac
tree41c21e1309267f65a75048518df3e78d3e4dcfc8
parent10ce0dbf1c11eaaab7b28b6bbd014235a36d1962
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>
ctdb/server/ctdb_recoverd.c