[tarantool-patches] [PATCH] Do not recycle a fiber if it is canceled

Vladimir Davydov vdavydov.dev at gmail.com
Mon Jul 16 13:20:49 MSK 2018


On Fri, Jul 13, 2018 at 02:47:41PM +0300, Georgy Kirichenko wrote:
> If a fiber pool reuses already canceled fiber then the fiber reports an
> error for any next request. Now canceled fiber returns and fiber pool
> creates a new one.
> 
> Fixes #3527
> ---
> Issue: https://github.com/tarantool/tarantool/3527
> Branch:
> https://github.com/tarantool/tarantool/tree/gh-3527-fiber-is-cancelled-in-pool
> 
> 
>  src/fiber_pool.c        |  6 +++---
>  test/app/fiber.result   | 18 ++++++++++++++++++
>  test/app/fiber.test.lua |  6 ++++++
>  3 files changed, 27 insertions(+), 3 deletions(-)

Looks good to me.



More information about the Tarantool-patches mailing list