shuke987 opened a new pull request, #64597: URL: https://github.com/apache/doris/pull/64597
## What problem does this PR solve? Stabilizes the **branch-4.1 Cloud-P0** regression pipeline by back-porting the relevant, **test-only** subset of branch-4.0 #64525 (which already stabilized the 4.0 P0/Cloud-P0 pipeline). These suites are currently muted-but-still-failing on 4.1 Cloud-P0; each commit deflakes one case so it can later be un-muted. Cases addressed (failure → fix): - **scanner_profile** — hard-coded `actualRows=9` assert (fails when tablets prune to <9 rows) → assert `actualRows ∈ [1,9]` via robust regex, and poll until the async execution profile lands. - **temp_table** — `assertEquals(show_tablets.size(), 3)` assumed 1 replica; on the 3-replica cloud cluster SHOW TABLETS returns 3×3=9 rows → derive replica count robustly (the old `/:(\d+)/` regex missed the space in `tag.location.default: 3`). - **insert_group_commit_into_max_filter_ratio** — group-commit async count race. - **adaptive_pipeline_task_serial_read_on_limit** — poll until the async-reported profile is complete. - **prune_bucket_with_bucket_shuffle_join** — pin `parallel_pipeline_task_num=1` so bucket-shuffle plan is deterministic. All changes are under `regression-test/` (no FE/BE code), so no compilation impact. ## Cherry-picked from branch-4.0 #64525 (with `-x` provenance) - `[fix](test) fix scanner_profile actualRows regex (partial backport of #64238)` - `[fix](test) make test_temp_table replica detection robust` - `[fix](case) fix insert_group_commit_into_max_filter_ratio` - `[fix](test) poll for complete profile in scanner_profile` - `[fix](test) poll for complete profile in adaptive_pipeline_task_serial_read_on_limit` - `[fix](test) pin parallel_pipeline_task_num=1 to keep bucket shuffle in prune_bucket_with_bucket_shuffle_join` ## Deliberately NOT included (follow-up) - **ANN index-only-scan rework** (#64525 replaces `ann_index_only_scan*.groovy` with debug-point variants) — needs confirmation the new debug points exist on 4.1; deferred to a separate PR. - **time_series compaction debug-point** — touches BE (`cumulative_compaction_time_series_policy.cpp`), needs a compile; deferred. - **`skip temp_table_p0/test_temp_table.groovy`** — intentionally omitted; we keep the case running rather than skipping it, to confirm the robust assert is sufficient on 4.1. ## Release note None 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
