mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
1ada9c4ef7
New function ctdb_read_nodes_file() reads a nodes file into a node map, which is a useful intermediate format. This function should replace the node reading code in the ctdb CLI tool. It will also be useful for sanity checking of nodes files across the cluster. New function convert_node_map_to_list() converts a node map to a node array (and associated node count). This fills in the details that aren't present in the node map. This may also useful as a separate function later if node list reloading stages the data after a sanity check - the approach is not yet finalised. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This is the release version of CTDB, a clustered implementation of TDB database used by Samba and other projects to store temporary data. This software is freely distributable under the GNU public license, a copy of which you should have received with this software (in a file called COPYING). For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.