mirror of https://github.com/apache/cassandra
fix: remove duplicate comment
Co-Authored-By: Lada Kesseler <23501754+lexler@users.noreply.github.com>
This commit is contained in:
parent
3fa20ebcfd
commit
9f5d99a77a
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue