[Tarantool-patches] [PATCH 1/2] box: make box.cfg idempotent function
Konstantin Osipov
kostja.osipov at gmail.com
Thu Mar 12 16:29:31 MSK 2020
* Maria Khaydich <maria.khaydich at tarantool.org> [20/03/11 19:02]:
>
> Calling box.cfg{} more than once does not normally cause any errors
> (even though it might not have any effect). In contrast, assigning
> it to some variable and then using it after the box was configured
> caused an error since the method was overwritten by the initial call
> of <load_cfg>.
>
> The patch fixes this issue making box.cfg behave consistently in both
> scenarios and is a follow-up for box: make box.execute idempotent function.
Did you benchmark it?
>
> Follow-up #4231
> ---
> Issue:
> https://github.com/tarantool/tarantool/issues/4231
> Branch:
> https://github.com/tarantool/tarantool/compare/eljashm/gh-4231-box.execute-immutable-function
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list