net.box: do not start worker fiber synchronously
Due to a regression introduced in c13b3a31, the worker fiber is started synchronously, while it should be started asynchronously, in order for the `wait_connected = false` option of `connect` to work correctly. We already explicitly wait from Lua for the connection to become active via `wait_state` when `wait_connected = true`. Closes #9489 NO_DOC=<bugfix> (cherry picked from commit 0502a1f5)
Showing
- changelogs/unreleased/gh-9489-netbox-wait-connected.md 5 additions, 0 deletionschangelogs/unreleased/gh-9489-netbox-wait-connected.md
- src/box/lua/net_box.c 11 additions, 10 deletionssrc/box/lua/net_box.c
- test/box-luatest/gh_9489_netbox_wait_connected_test.lua 23 additions, 0 deletionstest/box-luatest/gh_9489_netbox_wait_connected_test.lua
Loading
Please register or sign in to comment