Rev 325: don't count packets received from before the transport
told us the node was dead in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Sat May 19 04:04:49 GMT 2007
------------------------------------------------------------
revno: 325
revision-id: tridge at samba.org-20070519040448-1noxp9bh4mer11zr
parent: tridge at samba.org-20070519040102-fo2l751oby7bd8gr
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sat 2007-05-19 14:04:48 +1000
message:
don't count packets received from before the transport told us the node was dead
modified:
common/ctdb.c ctdb.c-20061127094323-t50f58d65iaao5of-2
=== modified file 'common/ctdb.c'
--- a/common/ctdb.c 2007-05-19 03:45:24 +0000
+++ b/common/ctdb.c 2007-05-19 04:04:48 +0000
@@ -384,6 +384,7 @@
{
node->ctdb->num_connected--;
node->flags &= ~NODE_FLAGS_CONNECTED;
+ node->rx_cnt = 0;
DEBUG(1,("%s: node %s is dead: %d connected\n",
node->ctdb->name, node->name, node->ctdb->num_connected));
ctdb_daemon_cancel_controls(node->ctdb, node);
More information about the samba-cvs
mailing list