if (EXTRA_DEBUG) {
logger.debug("Exit Loop from underlying index {}, previous {}, current {}", underlyingIndex, previousIndex, currentIndex);
}
previousBatch = new InternalBatch(incoming);
while (true) {
RecordBatch.IterOutcome out = incoming.next();
switch (out) {
case NONE: