Open sevev opened 2 days ago
Issues
2 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
:x: fail : 5 / 20 (25.00%)
path | covered_line | new_line | coverage | not_covered_line_detail | |
---|---|---|---|---|---|
:large_blue_circle: | be/src/exec/tablet_info.h | 0 | 1 | 00.00% | [85] |
:large_blue_circle: | be/src/exec/tablet_info.cpp | 5 | 19 | 26.32% | [135, 199, 200, 201, 494, 497, 498, 511, 512, 513, 514, 516, 520, 524] |
:white_check_mark: pass : 0 / 0 (0%)
:white_check_mark: pass : 2 / 2 (100.00%)
path | covered_line | new_line | coverage | not_covered_line_detail | |
---|---|---|---|---|---|
:large_blue_circle: | com/starrocks/planner/OlapTableSink.java | 2 | 2 | 100.00% | [] |
Why I'm doing:
If an add_partition operation is executed during the ALTER process, the ALTER operation will be canceled first. Therefore, the latest indexes will not include shadow indexes. but the schema's index may still contain shadow indexes, so the index check will fail and ingestion task will failed. [1] [2]
What I'm doing:
Skip the shadow index in the index check.
Fixes https://github.com/StarRocks/StarRocksTest/issues/8833
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: