[Tarantool-patches] [PATCH 2/2] fiber: destroy fiber.storage created by iproto

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat Dec 14 23:59:49 MSK 2019


Ok, we discussed the ticket verbally. It was
decided to keep it as is but revert all renames.

Also I will add a doc request in which I will
describe with details when and how fiber storage
behaves. For example, what about triggers, applier.

On 14/12/2019 17:49, Vladislav Shpilevoy wrote:
> Well, I still don't understand what you are keep saying and
> what do you want, and since it does not look like I will, I
> am out of this ticket.
> 
> On 14/12/2019 13:33, Konstantin Osipov wrote:
>> * Konstantin Osipov <kostja.osipov at gmail.com> [19/12/14 15:30]:
>>> I checked now, and Lua addeded debug.getupvalue() to Lua C API.
>>>
>>> On other words, fiber storage now can be implemented in pure Lua,
>>> without any triggers. 
>>>
>>> Back when we were writing, upvalue API was only available in C
>>> API, and AFAIR there was no way to access upvalues from Lua, this
>>> is why we had to come up with this hack.
>>
>> The feature can actually be deprecated. There is now a completely
>> legitimate and easy to use way to have a request-local object with
>> a user defined destructor in pure Lua.
>>
>> If you do want to keep it, you should try to minimized the damage
>> to the core, not extend it.
>>


More information about the Tarantool-patches mailing list