Repository navigation
Conversation
Port the diagnostic logging fix from apache#69473 to branch-3.1. Replace the complete scanner parameter dump with query ID and batch size, and remove the FE catalog-property dump. Preserve authentication options. Include log-capture regressions and an opt-in test profile for the retained scanner without enabling LakeSoul in default builds.
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
/review |
|
Codex automated review failed and did not complete. Error: Review recovery stopped: No final review submission was declared Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
|
/review |
|
Codex automated review failed and did not complete. Error: Review recovery stopped: No final review submission was declared Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
|
/review |
|
Codex automated review failed and did not complete. Error: Review recovery stopped: No final review submission was declared Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
|
/review |
|
Codex automated review failed and did not complete. Error: Review recovery stopped: No final review submission was declared Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
What problem does this PR solve?
Issue Number: N/A (no public GitHub issue)
Related PR: #69473
Problem Summary:
Port the LakeSoul diagnostic logging fix to
branch-3.1. The retained scanner logs complete parameters at INFO, including object storage credentials carried inoptions. The FE scan node also logs complete catalog properties at DEBUG.Log only the query ID and batch size when opening the scanner, and remove the catalog-property dump. Authentication options continue to reach the reader unchanged.
Add the same focused unit regressions and an explicit
lakesoul-scanner-testsMaven profile. The deprecated scanner remains excluded from default builds, and normal LakeSoul catalog creation remains disabled.Release note
Prevent sensitive LakeSoul scanner parameters and catalog properties from being written to logs.
Check List (For Author)
Test
Validation on branch-3.1 with JDK 17 and a matching Thrift 0.16.0 generator:
LakeSoulJniScannerTest: 3 tests passed, covering INFO, DEBUG, and a missing query ID; credentials still reach the native reader.LakeSoulScanNodeTest: 1 test passed, verifying credentials stay in scan options and out of DEBUG logs.git diff --checkpassed.Native I/O is isolated with Mockito. No live LakeSoul SQL scan was run; the branch rejects LakeSoul catalog creation.
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)