michaeljmarshall commented on code in PR #4605:
URL: https://github.com/apache/cassandra/pull/4605#discussion_r2813471347
##########
src/java/org/apache/cassandra/db/compaction/UnifiedCompactionStrategy.java:
##########
@@ -270,7 +270,9 @@ public SSTableMultiWriter
createSSTableMultiWriter(Descriptor descriptor,
{
ShardManager shardManager = getShardManager();
double flushDensity = cfs.metric.flushSizeOnDisk.get() *
shardManager.shardSetCoverage() / shardManager.localSpaceCoverage();
- ShardTracker boundaries =
shardManager.boundaries(controller.getNumShards(flushDensity));
+ boolean supportsSharding = sstableLevel == 0 &&
indexGroups.stream().allMatch(Index.Group::supportsL0Shards);
Review Comment:
Yes, it should definitely be that. I must have been too focused on the
non-sharding path when I put this together.
--
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]