eldenmoon opened a new pull request, #70969: URL: https://github.com/apache/doris/pull/70969
### What problem does this PR solve? Cherry-pick #70730 and #70899 using the branch-4.0 backports in #70962 and #70963. Extended DESCRIBE now releases the table read lock before Cloud visibility checks, compute group resolution, and backend schema RPCs. The FE captures the schema and tablet metadata under the lock. Schema discovery requires complete tablet coverage, and the FE reports backend read failures and requests that exceed the tablet cap. ### Release note Concurrent same-table Stream Load and DDL can finish while extended DESCRIBE waits for remote metadata. Extended DESCRIBE reports incomplete schema discovery as an error and enforces `max_fetch_remote_schema_tablet_count` as an upper bound. ### Validation on dev-x - Branch-4.0 FE/BE ASAN build, Cloud Meta Service build, clang-format 16, and FE Checkstyle passed. - FE unit tests passed 54 cases with one existing skip. BE ASAN unit tests passed all 58 cases across `InternalServiceRemoteSchemaTest`, `SchemaUtilTest`, and `VariantColumnWriterReaderTest`. - `test_variant_desc_rpc_lock`, `test_variant_desc_completeness`, `test_cloud_variant_desc_rpc_lock`, `test_float_double`, and `variant_mv` passed. - The full `variant_p0` run used FE `fuzzy_test_type=p0` on the shared-nothing ASAN cluster. It executed 118 suites with 95 passing and 23 failing. `regression_test_variant_desc` passed. The failure list includes fixture-loading failures and SQL suites that depend on those loads. ### Check List (For Author) - [x] Regression tests and unit tests executed - [x] Behavior change described in the release note -- 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]
