s3:dbwrap_ctdb: in ctdb_delete, send a SCHEDULE_FOR_DELETION control to local ctdbd
authorMichael Adam <obnox@samba.org>
Wed, 22 Dec 2010 13:16:07 +0000 (14:16 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 16:10:36 +0000 (18:10 +0200)
commitf150d8647e9503925d27382352259ea8d4d2c44f
tree8104984ef0db1bd9bc74117213fb4ff0ae14eca5
parent5a7b5b30a1c5a17c281af944282015386bddbf96
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.
(cherry picked from commit 6a3b6c8f7c14274e98c5c8e14ebf54ea260b2ecf)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/lib/dbwrap_ctdb.c