mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
ctdb_call: don't bump the rsn in ctdb_become_dmaster() any more
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> (This used to be ctdb commit cad3107b12e8392f786f9a758ee38cf3a3d58538)
This commit is contained in:
parent
fd01c464d1
commit
f1fe9ddf42
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user