nitsanw commented on code in PR #4402:
URL: https://github.com/apache/cassandra/pull/4402#discussion_r2451403781


##########
src/java/org/apache/cassandra/io/sstable/metadata/MetadataCollector.java:
##########
@@ -361,6 +405,13 @@ public Map<MetadataType, MetadataComponent> 
finalizeMetadata(String partitioner,
 
         Map<MetadataType, MetadataComponent> components = new 
EnumMap<>(MetadataType.class);
         components.put(MetadataType.VALIDATION, new 
ValidationMetadata(partitioner, bloomFilterFPChance));
+        Slice coveredClustering;
+        if (minClusteringDescriptor.clusteringKind() != 
ClusteringPrefix.Kind.EXCL_START_BOUND) // min is end only if the descriptors 
are unused

Review Comment:
   This is mirroring existing code AFAICT:
   ```
   if (minClustering == ClusteringBound.MAX_START)
                   minClustering = clustering;
   ```



-- 
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]

Reply via email to