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
teor2345
changed the title
Review tower-batch::Batch to make sure it matches tower::Buffer
Copy the semaphore impl from tower::Buffer 0.3 to tower-batch, to avoid hangs
Feb 15, 2021
teor2345
changed the title
Copy the semaphore impl from tower::Buffer 0.3 to tower-batch, to avoid hangs
Update the semaphore impl in tower-batch, to avoid hangs
Feb 15, 2021
This issue can actually cause hangs, so I've added it to the next sprint.
(But we're not sure how often they happen in practice, because we haven't used tower-buffer very much yet.)
Is your feature request related to a problem? Please describe.
tower-batch
is missing a semaphore fix that wakes waiting clones on close: tower-rs/tower#480Describe the solution you'd like
semaphore.rs
included in our pinned version oftower
, totower-batch/src/
: https://github.com/tower-rs/tower/blob/d4d1c67c6a0e4213a52abcc2b9df6cc58276ee39/tower/src/semaphore.rsSync
bound to the semaphore futureDescribe alternatives you've considered
Do nothing:
tower-buffer
users might hang.Additional context
This issue was discovered during the review in #1593.
The text was updated successfully, but these errors were encountered: