adelapena commented on code in PR #1891:
URL: https://github.com/apache/cassandra/pull/1891#discussion_r1134433668
##########
src/java/org/apache/cassandra/db/compaction/Scrubber.java:
##########
@@ -614,7 +619,84 @@ public Unfiltered next()
}
nextToOffer = null;
- return next;
+ return computeFinalRow((Row) next);
+ }
+
+ private Row computeFinalRow(Row next)
+ {
+ // If the row has overflowed let rows skip them unless we need to
keep them for the overflow policy
+ if (hasOverflowedLocalExpirationTimeRow((Row) next) &&
!reinsertOverflowedTTLRows)
Review Comment:
Unneeded cast to `Row`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]