public class PipelinedApproximateSubpartition extends PipelinedSubpartition
ResultSubpartition.BufferAndBacklogADD_BUFFER_ERROR_CODE, parent, subpartitionInfo| Modifier and Type | Method and Description |
|---|---|
PipelinedSubpartitionView |
createReadView(BufferAvailabilityListener availabilityListener)
To simply the view releasing threading model,
releaseView() is called only before creating a new view. |
boolean |
isSupportChannelStateRecover() |
abortCheckpoint, acknowledgeAllDataProcessed, add, alignedBarrierTimeout, bufferSize, finish, flush, getAvailabilityAndBacklog, getBuffersInBacklogUnsafe, getChannelStateCheckpointId, getNumberOfQueuedBuffers, getTotalNumberOfBuffersUnsafe, getTotalNumberOfBytesUnsafe, isReleased, release, setChannelStateWriter, toString, unsynchronizedGetNumberOfQueuedBuffersadd, getSubPartitionIndex, getSubpartitionInfo, onConsumedSubpartitionpublic PipelinedSubpartitionView createReadView(BufferAvailabilityListener availabilityListener)
releaseView() is called only before creating a new view.
There is still one corner case when a downstream task fails continuously in a short period of time then multiple netty worker threads can createReadView at the same time. TODO: This problem will be solved in FLINK-19774
createReadView in class PipelinedSubpartitionpublic boolean isSupportChannelStateRecover()
isSupportChannelStateRecover in class PipelinedSubpartitionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.