public final class RTBoundCloser extends Transformation<UnfilteredRowIterator>
ReadCommand.executeLocally(ReadExecutionController)
if DataLimits
stopped the iterator on a live row that was enclosed in an
older RT.
If we don't do this, and send a response without the closing bound, we can break read/short read protection read
isolation, and potentially cause data loss.
See CASSANDRA-14515 for context.Modifier and Type | Method and Description |
---|---|
UnfilteredRowIterator |
applyToPartition(UnfilteredRowIterator partition)
Applied to any rows iterator (partition) we encounter in a partitions iterator
|
static UnfilteredPartitionIterator |
close(UnfilteredPartitionIterator partitions) |
static UnfilteredRowIterator |
close(UnfilteredRowIterator partition) |
apply, apply, apply, apply, applyToDeletion, applyToMarker, applyToPartitionColumns, applyToPartitionKey, applyToRow, applyToStatic, onClose, onPartitionClose
public static UnfilteredPartitionIterator close(UnfilteredPartitionIterator partitions)
public static UnfilteredRowIterator close(UnfilteredRowIterator partition)
public UnfilteredRowIterator applyToPartition(UnfilteredRowIterator partition)
Transformation
applyToPartition
in class Transformation<UnfilteredRowIterator>
Copyright © 2009-2021 The Apache Software Foundation