Skip to content
Snippets Groups Projects
  • Nikolay Shirokovskiy's avatar
    6e403753
    lua: shutdown tasks worker fiber · 6e403753
    Nikolay Shirokovskiy authored
    As this fiber is made system in the commit bf620650 ("box: finish
    client fibers on shutdown") we don not need the existing protection from
    cancelling. So first remove it. Now make it managed on shutdown.
    
    Note that we may have issues as we finish this fiber too early. The
    tasks scheduled but not executed at this moment will never be executed.
    So the tasks that be scheduled after fiber is finished. Now when we
    don't use worker fiber for swim gc this will not cause leaks. And
    leaking fd on Tarantool shutdown in fio is not a problem.
    
    Closes #9722
    
    NO_CHANGELOG=internal
    NO_DOC=internal
    6e403753
    History
    lua: shutdown tasks worker fiber
    Nikolay Shirokovskiy authored
    As this fiber is made system in the commit bf620650 ("box: finish
    client fibers on shutdown") we don not need the existing protection from
    cancelling. So first remove it. Now make it managed on shutdown.
    
    Note that we may have issues as we finish this fiber too early. The
    tasks scheduled but not executed at this moment will never be executed.
    So the tasks that be scheduled after fiber is finished. Now when we
    don't use worker fiber for swim gc this will not cause leaks. And
    leaking fd on Tarantool shutdown in fio is not a problem.
    
    Closes #9722
    
    NO_CHANGELOG=internal
    NO_DOC=internal