github-actions[bot] commented on PR #61621: URL: https://github.com/apache/doris/pull/61621#issuecomment-4196181589
No issues found in this review. Critical checkpoints: - Goal and proof: The patch correctly separates prepared-statement query metric counting from audit-log emission, and the added unit tests cover the extracted metric helper's OK, ERR, non-query, and debug-mode behavior. - Scope/minimality: The change is small and focused to the FE query/audit path. - Concurrency: Not applicable; no new shared-state or locking changes were introduced. - Lifecycle/static init: Not applicable. - Config changes: None. - Compatibility: No FE/BE protocol, storage, or rolling-upgrade compatibility impact. - Parallel code paths: The normal audit-log path now reuses the same metric update logic, keeping behavior aligned. - Special conditions: The new prepared-statement branch preserves the existing debug-mode/error-isolation semantics. - Test coverage: Helper-level unit coverage was added; no additional correctness issue found from the current patch. - Observability/performance: No obvious regression; the refactor removes duplicated metric-counting logic. - Transactions/persistence/data writes/FE-BE variable passing: Not applicable. - Other issues: None identified in the modified code. -- 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]
