diff options
author | Amitay Isaacs <amitay@gmail.com> | 2017-09-28 11:44:50 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2017-09-29 08:38:10 +0200 |
commit | 7e728c86c77d995809a68dfb26350052303ca122 (patch) | |
tree | 70177d5ab014d5ed1e103c200e460465899c6b1a /source3/smbd | |
parent | 099df25f567a34bf0c159e18b62cd67b073c3002 (diff) | |
download | samba-7e728c86c77d995809a68dfb26350052303ca122.tar.gz |
notifyd: Broadcast to all connected nodes
CTDB_BROADCAST_VNNMAP includes only the nodes with lmaster roles.
CTDB_BROADCAST_CONNECTED includes all the running nodes.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Sep 29 08:38:10 CEST 2017 on sn-devel-144
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notifyd/notifyd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/notifyd/notifyd.c b/source3/smbd/notifyd/notifyd.c index f645781afea..e4e5c785472 100644 --- a/source3/smbd/notifyd/notifyd.c +++ b/source3/smbd/notifyd/notifyd.c @@ -81,7 +81,7 @@ struct notifyd_state { * broadcasts its messaging_reclog to every other notifyd in * the cluster. This is done by making ctdb send a message to * srvid CTDB_SRVID_SAMBA_NOTIFY_PROXY with destination node - * number CTDB_BROADCAST_VNNMAP. Everybody in the cluster who + * number CTDB_BROADCAST_CONNECTED. Everybody in the cluster who * had called register_with_ctdbd this srvid will receive the * broadcasts. * @@ -999,7 +999,7 @@ static void notifyd_broadcast_reclog(struct ctdbd_connection *ctdbd_conn, .iov_len = blob.length }; ret = ctdbd_messaging_send_iov( - ctdbd_conn, CTDB_BROADCAST_VNNMAP, + ctdbd_conn, CTDB_BROADCAST_CONNECTED, CTDB_SRVID_SAMBA_NOTIFY_PROXY, iov, ARRAY_SIZE(iov)); TALLOC_FREE(blob.data); if (ret != 0) { |