Commit 24a9f1b8 authored by Julien Muchembled's avatar Julien Muchembled

importer: do not implement deleteTransaction, now only used for replication

This backend does not support replication. Even if we implemented it, such node
could only be a source for other nodes so we should never delete transactions.
parent af8a8370
......@@ -505,11 +505,6 @@ class ImporterDatabaseManager(DatabaseManager):
raise NotImplementedError
return self.db.getFinalTID(ttid)
def deleteTransaction(self, tid):
if u64(tid) <= self.zodb_ltid and self._import:
raise NotImplementedError
self.db.deleteTransaction(tid)
def getReplicationTIDList(self, min_tid, max_tid, length, partition):
p64 = util.p64
tid = p64(self.zodb_tid)
......
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