Class RTBoundCloser


  • public final class RTBoundCloser
    extends Transformation<UnfilteredRowIterator>
    A transformation that appends an RT bound marker to row iterators in case they don't have one. This used to happen, for example, in 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.