6 Verify that "ctdb getreclock" gets the recovery lock correctly.
8 Make sure the recovery lock is consistent across all nodes.
12 .
"${TEST_SCRIPTS_DIR}/integration.bash"
20 echo "Check that recovery lock is set the same on all nodes..."
21 try_command_on_node
-v -q all
$CTDB getreclock
23 if [ -z "$out" ] ; then
24 echo "GOOD: Recovery lock is unset on all nodes"
28 n
=$
(echo "$out" |
sort -u |
wc -l)
29 if [ "$n" = 1 ] ; then
30 echo "GOOD: All nodes have the same recovery lock setting"
32 echo "BAD: Recovery lock setting differs across nodes"