Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: fix INIT state stuck #227

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Commits on Apr 15, 2024

  1. api: fix INIT state stuck

    Sometimes, instance could enter the queue initialization
    while still not running (for example, left in the orphan mode).
    This resulted in "lazy start". But Tarantool does not call
    `box.cfg {}` after leaving orphan mode, so queue could stuck in the
    `INIT` state.
    
    Now if the instance is read-only,  separate fiber is watching for
    updates of its mode.
    
    Note that this fix works only for Tarantool versions >= 2.10.0.
    This is because of used watchers.
    
    Closes #226
    DerekBum committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    530c026 View commit details
    Browse the repository at this point in the history