mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ensure we propogate the correct rsn for a request dmaster
(This used to be ctdb commit 70c1c67db865db8a49b56e8e3e8fd56ec5063208)
This commit is contained in:
parent
78eb2f96af
commit
df49a66de4
@ -390,6 +390,9 @@ void ctdb_request_dmaster(struct ctdb_context *ctdb, struct ctdb_req_header *hdr
|
||||
return;
|
||||
}
|
||||
|
||||
/* use the rsn from the sending node */
|
||||
header.rsn = c->rsn;
|
||||
|
||||
/* check if the new dmaster is the lmaster, in which case we
|
||||
skip the dmaster reply */
|
||||
if (c->dmaster == ctdb->vnn) {
|
||||
@ -649,6 +652,7 @@ static void ctdb_call_timeout(struct event_context *ev, struct timed_event *te,
|
||||
state->c->hdr.destnode = ctdb->vnn;
|
||||
|
||||
ctdb_queue_packet(ctdb, &state->c->hdr);
|
||||
DEBUG(0,("requeued ctdb_call after timeout\n"));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user