From 9f5d99a77a0a3c2dafa67bd850e335a5327eb46b Mon Sep 17 00:00:00 2001 From: Danny Faught Date: Fri, 27 Sep 2024 11:19:48 -0700 Subject: [PATCH] fix: remove duplicate comment Co-Authored-By: Lada Kesseler <23501754+lexler@users.noreply.github.com> --- src/java/org/apache/cassandra/service/StorageService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java index 1a96199bf0..5cf3881900 100644 --- a/src/java/org/apache/cassandra/service/StorageService.java +++ b/src/java/org/apache/cassandra/service/StorageService.java @@ -3555,7 +3555,6 @@ public class StorageService extends NotificationBroadcasterSupport implements IE static int calculateSplitCount(int keysPerSplit, long totalRowCountEstimate, int numberOfKeys) { - // splitCount should be much smaller than number of key samples, to avoid huge sampling error int minSamplesPerSplit = 4; int maxSplitCount = numberOfKeys / minSamplesPerSplit + 1; int splitCount = Math.max(1,