Commit 525ebba8 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove duplicate test. Master do not ignore answerPartitionTable packets in

verification stage since it's unexpected because the master already got a
partition table it trust and do not ask another.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@702 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dcb76e60
......@@ -88,11 +88,6 @@ class ServiceEventHandler(MasterEventHandler):
# No change. Don't care.
continue
if state == node.getState():
# No problem.
continue
node.setState(state)
# Something wrong happened possibly. Cut the connection to
# this node, if any, and notify the information to others.
......
......@@ -130,10 +130,6 @@ class VerificationEventHandler(MasterEventHandler):
logging.critical('got later information in verification')
raise VerificationFailure
def handleAnswerPartitionTable(self, conn, packet, ptid, cell_list):
# Ignore this packet.
pass
def handleAnswerUnfinishedTransactions(self, conn, packet, tid_list):
uuid = conn.getUUID()
logging.info('got unfinished transactions %s from %s:%d',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment