ctdb-tests: Send broadcast to connected nodes, not configured nodes
authorAmitay Isaacs <amitay@gmail.com>
Thu, 28 Sep 2017 01:47:24 +0000 (11:47 +1000)
committerMartin Schwenke <martins@samba.org>
Thu, 5 Oct 2017 03:19:21 +0000 (05:19 +0200)
https://bugzilla.samba.org/show_bug.cgi?id=13056

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/cluster_wait.c

index 1405738ac47170b26a02642161b172f6ba4f647f..ecd2efdf314df6a74400133f56f1c11731248087 100644 (file)
@@ -264,7 +264,7 @@ static void cluster_wait_join_unregistered(struct tevent_req *subreq)
        msg.data.data = tdb_null;
 
        subreq = ctdb_client_message_send(state, state->ev, state->client,
-                                         CTDB_BROADCAST_ALL, &msg);
+                                         CTDB_BROADCAST_CONNECTED, &msg);
        if (tevent_req_nomem(subreq, req)) {
                return;
        }