client: fix race with invalidations when starting a new transaction on ZODB 5
This requires ZODB >= 5.6.0
-
Owner
@jm, we will need this commit for wendelin.core 2 to be used with ZODB4 as well. With ZODB4 for
zconn_at
function, we will have to manually do things that are done in upstream ZODB#307, and the property that all invalidations tillhead
are guaranteed to be already processed and completed afterhead = zstor.lastTransaction()
is needed for the implementation (the same way as it is required for
ZODB#307
).So please cherry-pick this patch into v1.12 branches (
old-proto
, etc) that are in production use currently.Thank you.
/cc @romain, @klaus, @jwolf083, @vpelletier, @arnau
-
Owner
Since Zope devs agreed to merge https://github.com/zopefoundation/ZEO/pull/160, I'll do. (edit: I mean that they didn't put in question what you developed in wendelin.core 2)
-
Owner
Backported to old-proto branch.
-
mentioned in commit kirr/ZODB@40116375
-
mentioned in commit kirr/ZODB@8e7eab33
-
mentioned in merge request ZODB!1 (closed)