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

Add a TODO to implement restore() ZODB API method.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1527 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5daeb4de
...@@ -245,6 +245,8 @@ RC - Review output of pylint (CODE) ...@@ -245,6 +245,8 @@ RC - Review output of pylint (CODE)
a storage node supposed in running state, then it should notify the master a storage node supposed in running state, then it should notify the master
to check if this node is well up or not. to check if this node is well up or not.
- Cache for loadSerial/loadBefore - Cache for loadSerial/loadBefore
- Implement restore() ZODB API method to bypass consistency checks during
imports.
Later Later
- Consider auto-generating cluster name upon initial startup (it might - Consider auto-generating cluster name upon initial startup (it might
......
...@@ -105,6 +105,9 @@ class Storage(BaseStorage.BaseStorage, ...@@ -105,6 +105,9 @@ class Storage(BaseStorage.BaseStorage,
serials=(tid, serials=(tid,
serial),data=data) serial),data=data)
# def restore(self, oid, serial, data, version, prev_txn, transaction):
# raise NotImplementedError
def _clear_temp(self): def _clear_temp(self):
raise NotImplementedError raise NotImplementedError
......
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