You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The absence of this operation could lead to an infinite bloсking
when used with fiber as describerd in the case below.
A connection conn is acquired from a pool and we acquire a lock.
Then we start the first fiber with pool:put(conn)`, which try to
acquire lock and yield. Then the second fiber is started to
perform request with `conn:execute()` which try to acquire lock,
because the connection is still marked as `usable` and yield too.
Before this patch, it's appeared that the lock is never released.
Closes#34
0 commit comments