suxiaogang223 commented on PR #69886: URL: https://github.com/apache/doris/pull/69886#issuecomment-7333702465
Local Doris `code-review` incremental self-review: **PASS**, no unresolved findings in the External follow-up. Head: 4fe1497549b80b707865d417833d5860734547a2. Reviewed base: 9bfd9456e909e4e58b2683a4f136a24d12450d99. This extends the unchanged feature review at parent `2fac97fbe26ab6311776a2e7a1edce65722206bc` ([preceding PASS](https://github.com/apache/doris/pull/69886#issuecomment-7306032945)). The follow-up changes six files: extend the existing pre-input JNI selector for external-path and explicit compaction options, select JNI explicitly in two Java-specific suites, and add Rust NULL failure/snapshot/recovery coverage. No BE, dependency, SPI or wire definition changes. This is an incremental self-review, not independent review or a fresh whole-PR build. Verification: 71 focused FE tests passed; the new selector test fails before the fix. The preset Java runner was intentionally stopped after these classes completed, so no whole-reactor UT success is claimed. Standard FE build and Checkstyle passed with OBS dependencies excluded. All four original failing External suites passed. Both Rust suites passed separately after restarting the existing ASAN BEs with unchanged limits and assertions; the combined run had correctly refused Rust admission after JNI memory pressure. All three Rust gauges ended at zero on both BEs. SQL used the new FE and existing BEs with `be_exec_version=19`; no fresh BE build or default-version-20 run is claimed. Full CI on this head is pending. Live master is `cfcb9d4a45bb1681b70537010a3ab9795378975d`, 19h20m after the reviewed base, within the repository gate's 48-hour allowance. The intervening comparison contains no Paimon production or selector changes; it is not a fresh validation of the merged source tree. Previously disclosed mixed-version errors and estimated Rust memory accounting remain accepted limitations. ## Critical checkpoints 1. Goal: verified. All four originally failing suites passed. Two Rust suites also passed on fresh test BEs. 2. Simplicity: verified. Four production lines extend the existing option check and explain why; existing fallback reason reporting is reused. 3. Concurrency: no new shared state, locks, threads or asynchronous operations. The selector remains statement-local. 4. Lifecycle: both JNI-specific suites restore the prior session setting in finally. No new production resource owner or static initializer. 5. Configuration: no new settings or changed defaults. The existing writer switch is scoped and restored by tests. 6. Compatibility: no symbols, formats or signatures changed in this follow-up. The local old BE requires the supported FE be_exec_version=19 setting; that is runtime configuration only. 7. Thrift/protobuf: not applicable; no definitions changed in this follow-up. 8. Parallel paths: the shared selector covers INSERT and overwrite for append and primary-key tables. Reader selection is untouched. 9. Conditional checks: supported by actual CI failures in external-path rolling and compaction. Family checks follow adjacent option checks and preserve simple JNI fallback. 10. Coverage: 71 focused FE tests passed, including a new selector test that fails before the production fix. The four original suites keep their assertions. New Rust NULL input coverage checks rows, snapshots and subsequent recovery; the existing primary-key suite confirms ordinary tables still select Rust. 11. Results: runner-generated .out adds five groups, independently checked against exact expected rows/counts/snapshots. All three previous groups are unchanged. Normal comparison mode passed. 12. Observability: existing backend/selection-reason Profile fields identify the chosen backend. The new Profile check uses INSERT SELECT, following existing tests; VALUES did not publish the required Profile. 13. Persistence: no EditLog, snapshot serializer or commit implementation changes. Compaction tables retain the Java path that produces compact increments. 14. Writes/atomicity: existing JNI failure and transaction assertions passed. Rust NULL statements publish neither their valid rows nor a new snapshot, and a later valid statement succeeds. 15. FE/BE variables: none added; no new forwarding path. 16. Performance: only constant-time prefix checks in the existing per-plan option loop; no per-row overhead. Explicit external-path/compaction settings choose JNI; ordinary Rust tables remain enabled. 17. Other issues: no actionable findings in the follow-up. The local combined run exceeded the ASAN process soft limit after the JNI suites; Rust admission correctly refused subsequent writers with all three Rust gauges zero. Both Rust suites passed after restarting BEs with identical binaries, limits and assertions. This does not prove full native allocator/RSS accounting. <!-- doris-repo-review:v1:begin --> ```yaml schema: doris-repo-review/v1 status: PASS pr: apache/doris#69886 commit: 4fe1497549b80b707865d417833d5860734547a2 base: 9bfd9456e909e4e58b2683a4f136a24d12450d99 reviewed_at: 2026-12-02T03:15:04+00:00 reviewer: suxiaogang223 model: gpt-6.1-sol effort: xhigh findings: {blocker: 0, major: 0, minor: 0, nit: 0} rounds: 1 converged: true ``` <!-- doris-repo-review:v1:end --> -- 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]
