Commit 74225ead 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 15c3a78d
...@@ -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