fix: add retry for OBS queries in paimon_base_filesystem test#65103
Open
hello-stephen wants to merge 3 commits into
Open
fix: add retry for OBS queries in paimon_base_filesystem test#65103hello-stephen wants to merge 3 commits into
hello-stephen wants to merge 3 commits into
Conversation
Contributor
Author
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Gabriel39
previously approved these changes
Jul 1, 2026
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
Wrap OBS data access queries with retry(5, 3000) to mitigate cross-region network instability between Alibaba Cloud Hong Kong test machines and Huawei Cloud OBS Beijing endpoint (obs.cn-north-4.myhuaweicloud.com). The Connect timed out / RequestTimeOut (408) errors from ObsException are transient and retryable. Co-Authored-By: Claude <noreply@anthropic.com>
eb672eb to
f3e852c
Compare
Contributor
Author
|
run buildall |
Contributor
Author
|
run buildall |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Paimon filesystem catalog OBS queries intermittently fail with
Connect timed out/RequestTimeOut (408)errors.Root cause: test machines are in Alibaba Cloud Hong Kong, while the OBS endpoint is
obs.cn-north-4.myhuaweicloud.com(Beijing). Cross-region network instability causes transient TCP connection failures.Related: DORIS-26713
Solution
Add
retry(5, 3000)(5 attempts, 3s interval) around OBS data access queries inpaimon_base_filesystem.groovy:show databases,use, SELECT queries blockqt_obs obscomparison calls (force_jni_scanner=false and true)The retry uses the existing framework
Suite.retry()method which catches any Throwable and re-executes the closure. Network errors from OBS will be retried transparently.OSS/COS/COSN operations are unaffected as they use different endpoints.
🤖 Generated with Claude Code