Rev 289: ensure we propogate the correct rsn for a request dmaster
in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Sat May 12 09:55:18 GMT 2007
------------------------------------------------------------
revno: 289
revision-id: tridge at samba.org-20070512095518-py0kxx2oypiqunse
parent: tridge at samba.org-20070512095440-atc4dhk3kbgv6cxu
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-05-12 19:55:18 +1000
message:
ensure we propogate the correct rsn for a request dmaster
modified:
common/ctdb_call.c ctdb_call.c-20061128065342-to93h6eejj5kon81-1
=== modified file 'common/ctdb_call.c'
--- a/common/ctdb_call.c 2007-05-12 08:08:50 +0000
+++ b/common/ctdb_call.c 2007-05-12 09:55:18 +0000
@@ -390,6 +390,9 @@
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 @@
state->c->hdr.destnode = ctdb->vnn;
ctdb_queue_packet(ctdb, &state->c->hdr);
+ DEBUG(0,("requeued ctdb_call after timeout\n"));
}
/*
More information about the samba-cvs
mailing list