Commit 76d42a32 authored by Jim Fulton's avatar Jim Fulton

Updated to implement IServeable so a ClientStorage can be used in a

storage server.
parent 2cfced20
...@@ -1028,6 +1028,9 @@ class ClientStorage(object): ...@@ -1028,6 +1028,9 @@ class ClientStorage(object):
self._server.vote(id(txn)) self._server.vote(id(txn))
return self._check_serials() return self._check_serials()
def tpc_transaction(self):
return self._transaction
def tpc_begin(self, txn, tid=None, status=' '): def tpc_begin(self, txn, tid=None, status=' '):
"""Storage API: begin a transaction.""" """Storage API: begin a transaction."""
if self._is_read_only: if self._is_read_only:
......
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