public class PipelinedApproximateSubpartition extends PipelinedSubpartition
ResultSubpartition.BufferAndBacklog
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. |
void |
finishReadRecoveredState(boolean notifyAndBlockOnCompletion) |
abortCheckpoint, acknowledgeAllDataProcessed, add, addRecovered, alignedBarrierTimeout, bufferSize, finish, flush, getAvailabilityAndBacklog, getBuffersInBacklogUnsafe, getChannelStateCheckpointId, getNumberOfQueuedBuffers, getTotalNumberOfBuffersUnsafe, getTotalNumberOfBytesUnsafe, isReleased, release, requestBufferBuilderBlocking, setChannelStateWriter, toString, unsynchronizedGetNumberOfQueuedBuffers
add, getSubPartitionIndex, getSubpartitionInfo, onConsumedSubpartition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSubpartitionInfo
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 void finishReadRecoveredState(boolean notifyAndBlockOnCompletion) throws IOException
finishReadRecoveredState
in interface CheckpointedResultSubpartition
finishReadRecoveredState
in class PipelinedSubpartition
IOException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.