[Tarantool-patches] [PATCH v3] txn: convert flags to explicit bitfield
Cyrill Gorcunov
gorcunov at gmail.com
Fri Feb 5 11:22:07 MSK 2021
On Fri, Feb 05, 2021 at 10:53:32AM +0300, Serge Petrenko wrote:
> > Yes, but this won't get exact match for txn_has_flag, which tests
> > for a single bit now. Surely I can setup
>
> Ok, I see. Why not make txn_has_flag check for entire flag then?
>
> >
> > TXN_WAIT_ACK = 0x20 | TXN_WAIT_SYNC
> >
> > if you and Vlad agrees.
> Let's wait for what Vlad has to say
You know, I tried various ways. None of them satisfied me :/
I propose to close this issue and leave everything as is,
at least currently code as a way more readable I think.
More information about the Tarantool-patches
mailing list