CVS update: samba/source/utils

Jeremy Allison jra at au2.samba.org
Fri Nov 17 08:38:24 EST 2000


Date:	Friday November 17, 2000 @ 8:38
Author:	jra

Update of /data/cvs/samba/source/utils
In directory samba:/tmp/cvs-serv4783/utils

Modified Files:
	msgtest.c smbcontrol.c 
Log Message:
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.
Also added code into msgtest.c to test this.
Jeremy. 





More information about the samba-cvs mailing list