-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Under certain rare circumstances it seems that the BatchProducer
panics with just flushed
. This is this piece of code here:
rskafka/src/client/producer.rs
Lines 439 to 442 in 7c74d43
// Flush data | |
Self::flush_impl(&mut inner, self.client.as_ref(), self.compression).await; | |
extract(&result_slot.now_or_never().expect("just flushed"), tag) |
Until now I've seen that only once during benchmarking and once in prod. I'm wondering if now_or_never()
is too aggressive.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working