shoothzj opened a new pull request, #4327: URL: https://github.com/apache/bookkeeper/pull/4327
Fix #4326 ### Motivation Currently, when a `LedgerFencedException` occurs during the write operation, it is logged at the ERROR level in `WriteEntryProcessor`. This is misleading and unnecessarily alarming for system administrators, as a fenced ledger during recovery is an expected scenario, not an actual error condition. This change aims to reduce the severity level of such log entries to make the logs more informative and less cluttered with non-critical errors. ### Changes - Adjusted the log level for `LedgerFencedException` in `WriteEntryProcessor` from ERROR to WARN. - Added ledger ID and client IP information to the log message for better context and tracking. - Corrected a typo in the comment within the same file to improve code readability. This change makes the log output more consistent with how fenced ledgers are reported on the read path and improves the overall clarity of the log messages. -- 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]
