starrocks
starrocks copied to clipboard
[Enhancement] Use the max_data_size of last recent partitions instead of average size in the calAvgBucketNumOfRecentPartitions()
trafficstars
- To alleviate the small tablet, speculate the tablet num according to the max_data_size.
- The max table num of the partition must be guarantee not to be larger than calBucketNumAccordingToBackends()
What type of PR is this:
- [ ] BugFix
- [ ] Feature
- [x] Enhancement
- [ ] Refactor
- [ ] UT
- [ ] Doc
- [ ] Tool
Which issues of this PR fixes :
Fixes #
Problem Summary(Required) :
Checklist:
- [ ] I have added test cases for my bug fix or my new feature
- [ ] I have added user document for my new feature or new function
[FE PR Coverage Check]
:disappointed: fail : 0 / 4 (00.00%)
file detail
| path | covered_line | new_line | coverage | not_covered_line_detail | |
|---|---|---|---|---|---|
| :large_blue_circle: | com/starrocks/server/LocalMetastore.java | 0 | 4 | 00.00% | [975, 981, 983, 987] |
run starrocks_admit_test
run starrocks_admit_test







