moonlibs / xqueue

Imbue tarantool space with power of queue
15 stars 12 forks source link

allow background fibers of xqueue survive rw-ro swap #21

Closed ochaton closed 3 months ago

ochaton commented 4 months ago

I've changed lifetime of all background fibers of xqueue (now it is runat and workerX). Helper method rw_fiber_f awaits Tarantool to become RW subscribing to box.ctl.wait_rw or just fiber.sleep with box.info.ro checks.

It should solve most Ops during production

ochaton commented 3 months ago

Fixed in release 5.0.0