Skip to content

Panic: just flushed #102

@crepererum

Description

@crepererum

Under certain rare circumstances it seems that the BatchProducer panics with just flushed. This is this piece of code here:

// 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 working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions