forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opt](load) check -238 segment number limit earlier (apache#39045)
## Proposed changes Previously we check segment number when build rowset because we don't want throw an error in the intermediate state, hoping segment compaction can reduce segment number later. This PR adds a earlier segment number check, while doing segment compaction. Immediately throw an error if `_segcompacted_point` is greater than the segment number limit. --------- Co-authored-by: Xin Liao <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters