public class PipelinedApproximateSubpartition extends PipelinedSubpartition
ResultSubpartition.BufferAndBacklog
ADD_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, unsynchronizedGetNumberOfQueuedBuffers
add, getSubPartitionIndex, getSubpartitionInfo, onConsumedSubpartition
public 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 PipelinedSubpartition
public boolean isSupportChannelStateRecover()
isSupportChannelStateRecover
in class PipelinedSubpartition
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.