Transaction manager attempts method fixed (was Re: lots of ReadConflictErrors)
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FhjJmRs0KEfgu1-aoG=0XN9o5pLQF7kVqi_hsVYad=56w@mail.gmail.com> |
The fix has been released in transaction 1.7.0. Jim On Mon, Nov 7, 2016 at 1:44 PM, Jim Fulton <[email protected]> wrote: > > > On Fri, Oct 7, 2016 at 8:57 AM, Jim Fulton <[email protected]> wrote: > >> You've found a bug. :( >> >> I hate the attempts API. Hate hate hate it. I wrote it in an attempt >> :) to try to make the flawed Python context model work. It's very >> hard to reason about, because it's a stupid twister of a model. Using >> it is an incantation at best and we obviously can't get the >> implementation right. I'm sorry. >> > > There's a PR to fix attempts: > > https://github.com/zopefoundation/transaction/pull/24 > > This bug had actually been reported in July, https://github.com/ > zopefoundation/transaction/issues/19, with a fix I reused in my fix, > which dealt with some tests differently. > > >> >> I'm going to replace it >> (https://groups.google.com/forum/#!topic/python-transaction/3eUzBzX2sRU). >> > > There's a branch for that: > > https://github.com/zopefoundation/transaction/tree/run-decorator > > But it builds on and so is blocked by the PR above. > > >> Soon. (I plan to provide a PR in the next few days.) >> > > Sigh. Not so much. > > Jim > > -- > Jim Fulton > http://jimfulton.info > -- Jim Fulton http://jimfulton.info -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.