Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-33077][runtime] Minimize the risk of hard back-pressure with b…
…uffer debloating enabled Problem: Buffer debloating sets buffer size to 256 bytes because of back-pressure. Such small buffers might not be enough to emit the processing results of a single record. The task thread would request new buffers, and often block. That results in significant checkpoint delays (up to minutes instead of seconds). Adding more overdraft buffers helps, but depends on the job DoP Raising taskmanager.memory.min-segment-size from 256 helps, but depends on the multiplication factor of the operator. Solution: - Ignore Buffer Debloater hints and extend the buffer if possible - when this prevents emitting an output record fully AND this is the last available buffer. - Prevent the subsequent flush of the buffer so that more output records can be emitted (flatMap-like and join operators)
- Loading branch information