diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-21 15:20:55 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-21 15:20:55 +1100 |
commit | 9b8c72c44650f2dc29662af60e970b192050cd2e (patch) | |
tree | 2d19e19fc0fbb54ee2d1e2bd41ca9e053bb5cc3c /ctdb/server/eventscript.c | |
parent | 149ea4e57785046c80c39f802f85df258fe6d2ef (diff) | |
download | samba-9b8c72c44650f2dc29662af60e970b192050cd2e.tar.gz samba-9b8c72c44650f2dc29662af60e970b192050cd2e.tar.xz samba-9b8c72c44650f2dc29662af60e970b192050cd2e.zip |
When clients have blocked, perhaps because the node is banned or stopped and the client is blocked trying to tdb_fetch() a record, make sure we dont queue up too many REQ_MESSAGES.
Add a new tunable to control the maximum queue size we allow to a blocked client before we start discarding REQ_MESSAGES instead of queueing them for delivery.
This avoids having queued up very very large number of MESSAGES that samba semds
between eachother to nodes that are blocked/banned/stopped for extended periods
.
(This used to be ctdb commit f76d6fed8f9630450263b9fa4b5fdf3493fb1e11)
Diffstat (limited to 'ctdb/server/eventscript.c')
0 files changed, 0 insertions, 0 deletions