s3:dbwrap_ctdb: in ctdb_delete, send a SCHEDULE_FOR_DELETION control to local ctdbd
commit6a3b6c8f7c14274e98c5c8e14ebf54ea260b2ecf
authorMichael Adam <obnox@samba.org>
Wed, 22 Dec 2010 13:16:07 +0000 (22 14:16 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 31 Mar 2011 18:00:46 +0000 (31 20:00 +0200)
treec0946aedd0a64199ade3eb3c209e92fe780ac3f9
parent3c9ae69f34ba444bfcdc93923b2eee9ecde419de
s3:dbwrap_ctdb: in ctdb_delete, send a SCHEDULE_FOR_DELETION control to local ctdbd

This way, the record will be scheduled for fast vacuuming.

This is sent with the NOREPLY flag, so ctd should not sent
a reply packet and samba does not expect one. Hence, it
is not important for the success of the db_ctdb_delete command
whether or not the ctdbd we are running against supports the
SCHEDULE_FOR_DELETION control.
source3/lib/dbwrap_ctdb.c