ctdb-recovery-helper: Re-factor function to retain records from recdb
commit77257d9d71484dc9b01d42c8a61c2f0a6c74a782
authorAmitay Isaacs <amitay@gmail.com>
Tue, 8 Mar 2016 06:48:46 +0000 (8 17:48 +1100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 9 Jun 2016 11:07:26 +0000 (9 13:07 +0200)
treeae72f7b973972d7832c512ffd9b1343cfa496bca
parent7785a9f3386eabdfb0674c0327b81a15e88ea801
ctdb-recovery-helper: Re-factor function to retain records from recdb

Also, rename traverse function and traverse state for recdb_records
consistently.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 9058fe06df7f24e9a1b8fd5792a537a1fa8f5a60)
ctdb/server/ctdb_recovery_helper.c