------------------------------------------------------------ revno: 325 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Andrew Tridgell <[EMAIL PROTECTED]> 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);