Re: [dev] Better tpc_finish (was Re: [dev] RFC IMVCCStorage everywhere (Move ZODB's MVCC to storage layer))

Julien Muchembled <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
Le 06/16/16 22:29, Jim Fulton a écrit :
> - There are some special cases where undo or tpc_vote should return
> serials for without conflicts, because objects were modified via unto.
> The serials in this case may be None, as long as tpc_finish returns a
> tid.

Thanks. Now that explains something I quickly wrote in a NEO test:

>                 storage.undo(tid, txn)
>             storage.tpc_finish(txn)
>             t.begin()
>             value = ob.value
>             ob._p_invalidate() # BUG: this should not be required
>             self.assertEqual(ob.value, 3)

> Thoughts?

More another day.

Julien

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.