[PATCH] Avoid using CTDB_BROADCAST_ALL (bug 13056)

Amitay Isaacs amitay at gmail.com
Thu Sep 28 05:19:28 UTC 2017


Hi,

CTDB in some places uses CTDB_BROADCAST_ALL to
distribute packets to all the configured nodes.  If there is a
dead node (or a node that is not running) in the cluster,
then ctdb daemons will queue up packets for such nodes.
Over long periods of time, ctdb daemon can consume lots
of memory which will not be freed till the dead node is
started or ctdb daemon is restarted.

Use CTDB_BROADCAST_CONNECTED instead to send
packets to the nodes that are running.

Please review and push.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 4383 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170928/2e6ec622/ctdb-0001.bin>


More information about the samba-technical mailing list