vinyl: use broadcast instead of signal to notify about dump completion
There may be more than one fiber waiting on `vy_scheduler::dump_cond`: ``` box.snapshot vinyl_engine_wait_checkpoint vy_scheduler_wait_checkpoint space.create_index vinyl_space_build_index vy_scheduler_dump ``` To avoid hang, we should use `fiber_cond_broadcast`. Closes #10233 NO_DOC=bug fix (cherry picked from commit 30547157)
Showing
- changelogs/unreleased/gh-10233-vy-snapshot-hang-fix.md 4 additions, 0 deletionschangelogs/unreleased/gh-10233-vy-snapshot-hang-fix.md
- src/box/vy_scheduler.c 2 additions, 2 deletionssrc/box/vy_scheduler.c
- test/vinyl-luatest/gh_10233_index_build_vs_snapshot_test.lua 42 additions, 0 deletionstest/vinyl-luatest/gh_10233_index_build_vs_snapshot_test.lua
Loading
Please register or sign in to comment