slfan1989 opened a new pull request, #1353:
URL: https://github.com/apache/ratis/pull/1353

   ## What changes were proposed in this pull request?
   
   ### Root Cause
   The `Bootstrap.handler()` method stores the handler in a single field. Each 
call overwrites the previous value instead of appending. As a result, only the 
last handler (initializer) is applied, and LoggingHandler is completely ignored.
   
   ### Solution
   Combine both handlers into a single `ChannelInitializer` that adds 
LoggingHandler to the pipeline first, then delegates to the original 
initializer:
   
   ## What is the link to the Apache JIRA
   
   RATIS-2412. NettyClient LoggingHandler not working.
   
   ## How was this patch tested?
   
   - Exist Junit Test.


-- 
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]

Reply via email to