box.fiber.sleep() works incorrectly if a fiber is attached.

Bug #911641 reported by Kostja Osipov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
Fix Released
Medium
Kostja Osipov

Bug Description

If a fiber is attached, box.fiber.sleep() yields to the caller, and not to sched. This breaks sleep(), since the caller doesn't have to return to sched, and the call stack is unwound already anyway.

Kostja Osipov (kostja)
Changed in tarantool:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.4.5
Kostja Osipov (kostja)
summary: - box.fiber.sleep() works incorrectly if a fiber is not attached.
+ box.fiber.sleep() works incorrectly if a fiber is attached.
Kostja Osipov (kostja)
Changed in tarantool:
milestone: 1.4.5 → 1.4.6
Kostja Osipov (kostja)
Changed in tarantool:
milestone: 1.4.6 → none
Kostja Osipov (kostja)
Changed in tarantool:
assignee: nobody → Kostja Osipov (kostja)
milestone: none → 1.4.8
Kostja Osipov (kostja)
Changed in tarantool:
status: Confirmed → Fix Committed
Kostja Osipov (kostja)
Changed in tarantool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.