Commit 86fd4cc7 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove this decorator because we don't accept incoming (non-client) connections

during bootstrap stage.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@749 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent cbde95b6
......@@ -27,7 +27,6 @@ from neo.protocol import Packet, UnexpectedPacketError
from neo.pt import PartitionTable
from neo.storage.verification import VerificationEventHandler
from neo.util import dump
from neo import decorators
class BootstrapEventHandler(StorageEventHandler):
"""This class deals with events for a bootstrap phase."""
......@@ -78,7 +77,6 @@ class BootstrapEventHandler(StorageEventHandler):
app.trying_master_node = None
conn.close()
@decorators.client_connection_required
def handleAcceptNodeIdentification(self, conn, packet, node_type,
uuid, ip_address, port,
num_partitions, num_replicas, your_uuid):
......@@ -125,7 +123,6 @@ class BootstrapEventHandler(StorageEventHandler):
# Node UUID was set in handleAnswerPrimaryMaster
assert node.getUUID() == uuid
@decorators.client_connection_required
def handleAnswerPrimaryMaster(self, conn, packet, primary_uuid,
known_master_list):
app = self.app
......
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