You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/09/06 11:51:34 UTC

[GitHub] [rocketmq] lizhanhui commented on pull request #5000: [ISSUE#4949] fix Address already in use

lizhanhui commented on PR #5000:
URL: https://github.com/apache/rocketmq/pull/5000#issuecomment-1238042515

   >  we need to add additional logic to release port 0 in NettyRemoteServer
   
   Read https://www.baeldung.com/cs/binding-available-ports#different-ways-to-bind-a-port
   
   > But I am worried that this method is too invasive because we need to interact based on the Remoting protocol, which will cause the thread timing to be out of order.
   
   Actually, this is the standard way to run tests in parallelism. I've spent some time investigating the potential changes required, finding we indeed need a few changes to the current code and dledger dependency. I am OK with the current status of this PR now that there is no achievable solution with changes less than 10 lines  
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org