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

  • From: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • To: Georgy Kirichenko <georgy@xxxxxxxxxxxxx>
  • Date: Mon, 16 Jul 2018 13:20:49 +0300

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.

Other related posts: