diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-16 21:44:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-16 21:44:49 +0000 |
commit | 8e71b8f83c3077bdcf576e69d033a7ab96097dfa (patch) | |
tree | 49a09c0c603e37e5032918ecd9ad781aa9f82e9e /docs/htmldocs | |
parent | 3508577f469ba7e960eef625ef70ce852e11cd28 (diff) | |
download | samba-8e71b8f83c3077bdcf576e69d033a7ab96097dfa.tar.gz samba-8e71b8f83c3077bdcf576e69d033a7ab96097dfa.tar.xz samba-8e71b8f83c3077bdcf576e69d033a7ab96097dfa.zip |
Fix for a problem with the new messaging system. If a sender is using the
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Jeremy.
Diffstat (limited to 'docs/htmldocs')
0 files changed, 0 insertions, 0 deletions