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

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • Date: Tue, 31 Jul 2018 23:38:13 +0300

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [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

Other related posts: