Skip to content
Snippets Groups Projects
Commit d40ce0fa authored by Nikolay Shirokovskiy's avatar Nikolay Shirokovskiy Committed by Vladimir Davydov
Browse files

core: disable fibers creation after shutdown started

On Tarantool shutdown we cancel client fibers and then wait their
finishing (see the commit bf620650 ("box: finish client fibers on
shutdown"). If we allow to spawn new fibers after shutdown is started
then Tarantool shutdown can easily be hanged if spawned fiber does not
finish in time. This can be the case if client fiber ignores cancel
flag at the time of creating new fiber. I guess fiber does not need
creating another fiber to handle cancelling thus it is better to disable
it.

Part of #8423

NO_CHANGELOG=internal
NO_DOC=internal
parent 924a09d1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment