hazelcast / hazelcast

Hazelcast is a unified real-time data platform combining stream processing with a fast data store, allowing customers to act instantly on data-in-motion for real-time insights.
https://www.hazelcast.com
Other
6.15k stars 1.84k forks source link

Jet can lose stream items on member reconnection close to job completion #18604

Open viliam-durina opened 3 years ago

viliam-durina commented 3 years ago

Scenario:

It's pretty hard to happen in real life because flow control packets are sent every 100ms, the stream item and the done item have to be in two batches, the member has to reconnect in that short time and all tasklets have to complete in that short window. But, on the other hand, it should be pretty easy to fix - to check the source connection for each packet in ReceiverTasklet. But maybe there's a gotcha...

Holmistr commented 2 years ago

Based on:

It's pretty hard to happen in real life

moving it to backlog for now and we'll consider it during planning for the next releases.