[RFC PATCH 12/23] vinyl: do not pass region explicitly to write iterator functions

Konstantin Osipov kostja at tarantool.org
Tue Jul 31 23:38:13 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/07/08 22:53]:
> This is not necessary, as we can use fiber()->gc, as we usually do.

The reason Vlad is passing it explicitly is that if we plan to
make transactions interactive, we're going to end up with more
than one transaction per fiber. So it really should be tx->gc
(non-existent at the moment), not fiber->gc.

I think Vlad is passing it around explicitly as a mental note to
self.

It's OK to push.

1.0

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list