Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.12.0
Description
Currently, netty threads and task thread are both accessing Unaligner. Netty thread access it indirectly through BufferReceivedListener. Thus, we need some costly synchronization and weaken the threading model of the Unaligner.
One possibility would be to introduce priority buffers to the InputGates, which overtake other buffers and also are always processable (e.g. they bypass non-blocking outputs).
Attachments
Issue Links
- causes
-
FLINK-19391 Deadlock during partition update
- Resolved
- fixes
-
FLINK-17413 Refactor the usages of ThreadSafeUnaligner#storeNewBuffers
- Closed
- links to