------------------------------------------------------------
revno: 289
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
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"));
 }
 
 /*

Reply via email to