ramanathan1504 commented on issue #4356:
URL: 
https://github.com/apache/logging-log4j2/issues/4356#issuecomment-5842732789

   @plusterkopp 
   
   Thanks for the clear report and the reproducer. I ran it here and see the 
same loss with Disruptor 4 on 2.25.3, 2.26.1 and `2.x`, and none with Disruptor 
3.                  
                                                                                
                                                                                
                   
     I opened #NNNN with a fix. `getEventRoute` now checks for shutdown 
directly instead of using a negative capacity. With it, your program loses no 
lines on Disruptor 4.        
                                                                                
                                                                                
                   
     Could you try the PR build in your server and confirm the loss is gone? 
You can build it with `./mvnw install -pl log4j-core -am -DskipTests` on the PR 
branch and use        
     `2.27.0-SNAPSHOT`.


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