shuke987 opened a new pull request, #65520:
URL: https://github.com/apache/doris/pull/65520
### What problem does this PR solve?
Issue Number: N/A
Related PR: #65454
Problem Summary:
`test_file_tvf_s3` writes and reads data through real S3-compatible
services. In P0 build 992758, several Huawei OBS reads succeeded before a
path-style `FILE()` request hit the FE endpoint precheck's 10-second connection
timeout:
```text
errCode = 202, detailMessage = Failed to access object storage,
message=Connect timed out
```
This follow-up retries the same valid `FILE()` query once only for that
exact transient signature. Authentication, permission, endpoint whitelist,
SSRF, protocol, parsing, assertion, and all other errors still fail
immediately, and a second matching timeout is propagated normally.
Unlike #65454, which handles an OUTFILE `PutObject` failure reported as
`curlCode: 28`, this failure occurs in the FE `FILE()` TVF
endpoint-connectivity precheck.
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [x] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
Manual validation:
- Compiled the modified Groovy suite with `groovyc`.
- Verified the retry predicate with simulated SQL exceptions: one exact
connection timeout retries and succeeds; a different `errCode = 202` error is
not retried; two consecutive matching timeouts surface the second failure.
- `git diff --check` passed.
- The full suite was not run locally because it requires configured
credentials and live COS, OSS, OBS, and AWS-compatible endpoints.
- Behavior changed:
- [x] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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]