summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/dbwrap_ctdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index 8563990a84..9e57aadb25 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -381,6 +381,8 @@ again:
pid = getpid();
data.dptr = (unsigned char *)&pid;
data.dsize = sizeof(pid_t);
+ crec->header.rsn++;
+ crec->header.dmaster = get_my_vnn();
status = db_ctdb_ltdb_store(ctx, key, &(crec->header), data);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, (__location__ " Failed to store pid in transaction "