maedhroz commented on code in PR #4150: URL: https://github.com/apache/cassandra/pull/4150#discussion_r2096580662
########## src/java/org/apache/cassandra/db/partitions/PartitionIterators.java: ########## @@ -93,21 +93,6 @@ public static void consume(PartitionIterator iterator) } } - /** - * Consumes all rows in the next partition of the provided partition iterator. - */ - public static void consumeNext(PartitionIterator iterator) - { - if (iterator.hasNext()) - { - try (RowIterator partition = iterator.next()) - { - while (partition.hasNext()) - partition.next(); - } - } - } Review Comment: Inlined this to `RFP` to have a complete view of everything happening in `queryProtectedPartitions()`. Open to reorganizing again once we're convinced things are correct. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org