mirror of https://github.com/apache/cassandra
move comment
Co-Authored-By: Lada Kesseler <23501754+lexler@users.noreply.github.com>
This commit is contained in:
parent
2d950d5bd0
commit
3fa20ebcfd
|
|
@ -3546,6 +3546,7 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
|
||||
long totalRowCountEstimate = cfs.estimatedKeysForRange(range);
|
||||
|
||||
// splitCount should be much smaller than number of key samples, to avoid huge sampling error
|
||||
int splitCount = calculateSplitCount(keysPerSplit, totalRowCountEstimate, keys.size());
|
||||
|
||||
List<Token> tokens = keysToTokens(range, keys);
|
||||
|
|
|
|||
Loading…
Reference in New Issue