git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda7d31
)
s3:dbwrap_ctdb: send the SCHEDULE_FOR_DELETION control with the NOREPLY flag.
author
Michael Adam
<obnox@samba.org>
Tue, 8 Mar 2011 15:49:46 +0000
(16:49 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap_ctdb.c
b/source3/lib/dbwrap_ctdb.c
index dfbd123b9ade3677911a76575c772232209fca7a..67808f9a99f10d09ba98d365e91c42012ced078a 100644
(file)
--- a/
source3/lib/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap_ctdb.c
@@
-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 */