mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
ctdb_get_pnn() incorrectly caches to the same file regardless of what node is selected via FAKE_CTDB_PNN. Instead, set the PNN using new function ctdb_get_pnn(), which also makes CTDB_VARDIR point to a node-specific subdirectory. This means that ctdb_get_pnn() will correctly cache to the node-specific directory. Fake tickle and TDB files/directories used by the ctdb stub need to be the same across all PNNs, so change these to use $EVENTSCRIPTS_TESTS_VAR_DIR instead of node-specific $CTDB_VARDIR. 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.