[Tarantool-patches] [PATCH 3/4] feedback_daemon: send feedback on server start

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Mon Apr 5 16:18:06 MSK 2021


Hi! Thanks for the patch!

On 02.04.2021 16:58, Serge Petrenko wrote:
> Send the first report as soon as instance's initial configuration
> finishes.
> 
> Closes #5750
> ---
> diff --git a/src/box/lua/feedback_daemon.lua b/src/box/lua/feedback_daemon.lua
> index d00eedf39..2ce768642 100644
> --- a/src/box/lua/feedback_daemon.lua
> +++ b/src/box/lua/feedback_daemon.lua
> @@ -345,7 +345,7 @@ local function guard_loop(self)
>      while true do
>  
>          if get_fiber_id(self.fiber) == 0 then
> -            self.fiber = fiber.create(feedback_loop, self)
> +            self.fiber = fiber.new(feedback_loop, self)

Why?


More information about the Tarantool-patches mailing list