vacuum: reorder some of ctdb_process_delete_list() more intuitively
authorMichael Adam <obnox@samba.org>
Sat, 29 Dec 2012 17:32:39 +0000 (18:32 +0100)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 24 Apr 2013 08:47:25 +0000 (18:47 +1000)
commitf49d57c21d8e44f81eadc824d48a67d634d56415
tree6ff7593d203cb580ab17b1fdda511cdd2b728983
parenta0e026498691144ac59a9ab4efa975570b531ea6
vacuum: reorder some of ctdb_process_delete_list() more intuitively

Now that the nodemap and its talloc children don't hang off of the
delete_records_list talloc context, we can build the nodemap
and earlier, and move the construction of the delete_records_list
to where it is more obvious what it is used for.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit e3740899c1af6962f93c85ad7d1cb71bddce45c6)
ctdb/server/ctdb_vacuum.c