rename variable

Co-Authored-By: Lada Kesseler <23501754+lexler@users.noreply.github.com>
This commit is contained in:
Danny Faught 2024-09-27 12:52:13 -07:00
parent d58b230153
commit 9b0c8dac19
No known key found for this signature in database
GPG Key ID: 28A992107D6E8DF4
1 changed files with 2 additions and 2 deletions

View File

@ -3557,8 +3557,8 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
{
int minSamplesPerSplit = 4;
long maxSplitCount = numberOfKeys / minSamplesPerSplit + 1;
long calculatedSplitCount = totalRowCountEstimate / keysPerSplit;
int splitCountWithLimit = (int) Math.min(maxSplitCount, calculatedSplitCount);
long splitCount = totalRowCountEstimate / keysPerSplit;
int splitCountWithLimit = (int) Math.min(maxSplitCount, splitCount);
return Math.max(1, splitCountWithLimit);
}