Commit 3eb59881 authored by Jeremy Hylton's avatar Jeremy Hylton

Restore call to setLastTid() in tpc_finish().

It was lost backporting changes from the 3.1 branch, which doesn't
have the last tid feature.
parent fe7e4b62
...@@ -900,7 +900,8 @@ class ClientStorage: ...@@ -900,7 +900,8 @@ class ClientStorage:
finally: finally:
self._lock.release() self._lock.release()
self._server.tpc_finish(self._serial) tid = self._server.tpc_finish(self._serial)
self._cache.setLastTid(tid)
r = self._check_serials() r = self._check_serials()
assert r is None or len(r) == 0, "unhandled serialnos: %s" % r assert r is None or len(r) == 0, "unhandled serialnos: %s" % r
......
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