git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb1d40
)
ctdb_call: don't bump the rsn in ctdb_become_dmaster() any more
author
Michael Adam
<obnox@samba.org>
Wed, 3 Apr 2013 10:02:59 +0000
(12:02 +0200)
committer
Amitay Isaacs
<amitay@gmail.com>
Wed, 17 Apr 2013 11:16:32 +0000
(21:16 +1000)
This is now done in ctdb_ltdb_store_server(), so this
extra bump can be spared.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
server/ctdb_call.c
patch
|
blob
|
history
diff --git
a/server/ctdb_call.c
b/server/ctdb_call.c
index 67219c4ab3795b6e23a60e0b4281e22a8f956524..a6c6389ab1c6e0be1b45c3b4031f5adec15993cb 100644
(file)
--- a/
server/ctdb_call.c
+++ b/
server/ctdb_call.c
@@
-343,7
+343,7
@@
static void ctdb_become_dmaster(struct ctdb_db_context *ctdb_db,
DEBUG(DEBUG_DEBUG,("pnn %u dmaster response %08x\n", ctdb->pnn, ctdb_hash(&key)));
ZERO_STRUCT(header);
- header.rsn = rsn
+ 1
;
+ header.rsn = rsn;
header.dmaster = ctdb->pnn;
header.flags = record_flags;