s3:dbwrap_ctdb: send the SCHEDULE_FOR_DELETION control with the NOREPLY flag.
authorMichael Adam <obnox@samba.org>
Tue, 8 Mar 2011 15:49:46 +0000 (16:49 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 11 Mar 2011 15:23:44 +0000 (16:23 +0100)
We don't need to wait for an answer, this is fire and forget.

source3/lib/dbwrap_ctdb.c

index dfbd123b9ade3677911a76575c772232209fca7a..67808f9a99f10d09ba98d365e91c42012ced078a 100644 (file)
@@ -922,7 +922,7 @@ static NTSTATUS db_ctdb_delete(struct db_record *rec)
        status = ctdbd_control_local(messaging_ctdbd_connection(),
                                     CTDB_CONTROL_SCHEDULE_FOR_DELETION,
                                     crec->ctdb_ctx->db_id,
-                                    0, /* flags */
+                                    CTDB_CTRL_FLAG_NOREPLY, /* flags */
                                     indata,
                                     NULL, /* outdata */
                                     NULL, /* errmsg */