Commit d96ccedd authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove empty methods definition in hidden handler.

Those overriden method do not disable any parent implementation and should
not silent any packet, it would block others nodes until timeout, at least.
Node that hidden node state is still under consideration.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1747 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a1548f3c
...@@ -42,27 +42,6 @@ class HiddenHandler(BaseMasterHandler): ...@@ -42,27 +42,6 @@ class HiddenHandler(BaseMasterHandler):
erase_db = state == NodeStates.DOWN erase_db = state == NodeStates.DOWN
self.app.shutdown(erase=erase_db) self.app.shutdown(erase=erase_db)
def requestIdentification(self, conn, node_type,
uuid, address, name):
pass
def acceptIdentification(self, conn, node_type,
uuid, num_partitions, num_replicas, your_uuid):
pass
def answerPrimary(self, conn, primary_uuid,
known_master_list):
pass
def askLastIDs(self, conn):
pass
def askPartitionTable(self, conn, offset_list):
pass
def sendPartitionTable(self, conn, ptid, row_list):
pass
def notifyPartitionChanges(self, conn, ptid, cell_list): def notifyPartitionChanges(self, conn, ptid, cell_list):
"""This is very similar to Send Partition Table, except that """This is very similar to Send Partition Table, except that
the information is only about changes from the previous.""" the information is only about changes from the previous."""
...@@ -88,56 +67,3 @@ class HiddenHandler(BaseMasterHandler): ...@@ -88,56 +67,3 @@ class HiddenHandler(BaseMasterHandler):
def startOperation(self, conn): def startOperation(self, conn):
self.app.operational = True self.app.operational = True
def stopOperation(self, conn):
pass
def askUnfinishedTransactions(self, conn):
pass
def askTransactionInformation(self, conn, tid):
pass
def askObjectPresent(self, conn, oid, tid):
pass
def deleteTransaction(self, conn, tid):
pass
def commitTransaction(self, conn, tid):
pass
def askLockInformation(self, conn, tid):
pass
def notifyUnlockInformation(self, conn, tid):
pass
def askObject(self, conn, oid, serial, tid):
pass
def askTIDs(self, conn, first, last, partition):
pass
def askObjectHistory(self, conn, oid, first, last):
pass
def askStoreTransaction(self, conn, tid, user, desc,
ext, oid_list):
pass
def askStoreObject(self, conn, oid, serial,
compression, checksum, data, tid):
pass
def abortTransaction(self, conn, tid):
logging.debug('ignoring abort transaction')
def answerLastIDs(self, conn, loid, ltid, lptid):
logging.debug('ignoring answer last ids')
def answerUnfinishedTransactions(self, conn, tid_list):
logging.debug('ignoring answer unfinished transactions')
def askOIDs(self, conn, first, last, partition):
logging.debug('ignoring ask oids')
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