yonchicy commented on PR #70766: URL: https://github.com/apache/doris/pull/70766#issuecomment-7094317190
## Local review summary Reviewed head: `2667c5521a851bae44640ea3c5b71ded4720912b` Scope: 14 files, +509/−139, 2 commits Verdict: **REQUEST_CHANGES** Findings: **0 Blocker, 5 Major, 2 Minor, 0 Nit** Rounds: 2, converged (verdict stable since round 1) Coverage: all 14 changed files; prior heads `f97856d` and `07fafeb` were considered. ### Findings | ID | Severity | Finding | |---|---|---| | F-03 | Major | Link-local IPv6 selection drops the interface scope, so the advertised `[fe80::...]:port` endpoint cannot be dialed by peers. | | F-11 | Major | The process-lifetime address cache keeps advertising the old selected IP after a same-family IPv4 or IPv6 address replacement. A Meta Service restart is now required; this is disclosed in the updated description but remains a behavior change to accept or fix. | | F-04 | Major | A registry entry with an AAAA-only hostname still enters the IPv4-only BRPC hostname path instead of falling back to the stored IPv6 literal. | | F-05 | Major | An IPv6 bind combined with a positive `brpc_internal_listen_port` fails during BRPC startup. | | F-09 | Major | FE resolver compatibility regression for previously accepted escaped IPv4 port forms such as `host:%35%30%30%30`; the new URI path encoding no longer preserves them. | | F-10 | Minor | The new `NetworkOptions` test checks stack-local objects but does not exercise the production singleton, starter, and registrar wiring. | | F-06 | Minor | FE tests round-trip `toTarget()`/`getAddressList()` but do not start the actual resolver or inspect listener results and errors. | ### Suggested follow-ups - Exclude link-local addresses until scope propagation is supported, or carry scope through the registry and BRPC path. - Either preserve same-family address migration or explicitly require a Meta Service restart after address replacement. - Use IPv6-capable hostname resolution or a literal-IP fallback for AAAA-only registry entries. - Validate or document the unsupported IPv6 plus positive internal-port combination. - Preserve legacy escaped IPv4 port parsing, or provide an explicit migration path. - Add production-wiring tests for the Cloud listener/registry identity and resolver-start tests for IPv6, mixed, legacy, and malformed endpoint lists. ### Review context This was a source and dependency-contract review, not a CI-equivalent review. The review itself did not run builds or tests. Separate validation on the same head passed the Cloud full UT suite, FE resolver/client/proxy tests, BE ASAN build and network-related unit tests, and two IPv6 P0 regression suites. The review used `GPT-6.1 Sol / xhigh`. That alias is not currently listed by the local review runtime policy, so this is a local non-pipeline-equivalent review; no automatic PASS comment was posted. -- 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]
