Get rid of txn_cleanup() & delayed cleanup.
We needed to have txn_cleanup() only because a tuple which was read in txn was used in fiber->io_vec. Decouple txn and network I/O and make sure we can commit/rollback txn whenever we like, regardless of what is given to fiber->iovec. @todo: perhaps we need to optimize performance of port cleanup for big selects.
Showing
- include/util.h 6 additions, 0 deletionsinclude/util.h
- mod/box/box.lua 0 additions, 1 deletionmod/box/box.lua
- mod/box/box.m 0 additions, 1 deletionmod/box/box.m
- mod/box/memcached-grammar.m 222 additions, 220 deletionsmod/box/memcached-grammar.m
- mod/box/memcached-grammar.rl 3 additions, 1 deletionmod/box/memcached-grammar.rl
- mod/box/memcached.m 1 addition, 1 deletionmod/box/memcached.m
- mod/box/port.h 2 additions, 0 deletionsmod/box/port.h
- mod/box/port.m 14 additions, 2 deletionsmod/box/port.m
- mod/box/request.h 0 additions, 1 deletionmod/box/request.h
- mod/box/request.m 0 additions, 6 deletionsmod/box/request.m
- mod/box/tuple.h 2 additions, 0 deletionsmod/box/tuple.h
- mod/box/tuple.m 1 addition, 1 deletionmod/box/tuple.m
- mod/box/txn.h 0 additions, 2 deletionsmod/box/txn.h
- mod/box/txn.m 5 additions, 30 deletionsmod/box/txn.m
Loading
Please register or sign in to comment