smiklosovic commented on code in PR #3767:
URL: https://github.com/apache/cassandra/pull/3767#discussion_r1989136062
##########
src/java/org/apache/cassandra/io/sstable/format/SSTableReader.java:
##########
@@ -325,17 +367,8 @@ public static long
getApproximateKeyCount(Iterable<SSTableReader> sstables)
break;
}
}
- if (cardinality != null && !failed)
- count = cardinality.cardinality();
- // if something went wrong above or cardinality is not available,
calculate using index summary
Review Comment:
This is still used, just refactored (see the code above), this would happen
when not all SSTables are on same format.
--
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]