Skip to content

[fix](regression) wait for adaptive scan profile#64923

Open
shuke987 wants to merge 3 commits into
apache:masterfrom
shuke987:fix-adaptive-profile-wait
Open

[fix](regression) wait for adaptive scan profile#64923
shuke987 wants to merge 3 commits into
apache:masterfrom
shuke987:fix-adaptive-profile-wait

Conversation

@shuke987

@shuke987 shuke987 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add readiness-aware profile helpers in the regression framework.
  • Update adaptive_pipeline_task_serial_read_on_limit and scanner_profile to wait for required profile counters before asserting.
  • Keep the existing profile("tag") DSL one-shot and raw-format compatible; readiness waiting is opt-in through explicit helper calls.
  • Keep the existing immediate getProfile(profileId) API unchanged to avoid slowing existing custom polling loops.

Testing

  • git diff --check
  • Groovy parsing phase check for ProfileAction.groovy, adaptive_pipeline_task_serial_read_on_limit.groovy, scanner_profile.groovy, recursive_cte/query_cache_with_rec_cte_test.groovy, and query_p0/cache/parse_sql_from_sql_cache.groovy
  • Not run: full regression cases, no live Doris regression environment was used in this fix-cases worktree.

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@shuke987

Copy link
Copy Markdown
Collaborator Author

run buildall

@shuke987

shuke987 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

run buildall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants