hdp-piplus opened a new issue #1655: ClientRemotingProcessor execute 
receiveReplyMessage method timeout
URL: https://github.com/apache/rocketmq/issues/1655
 
 
     main reasons are as follows
   ```
   if (requestHeader.getBornHost() != null) {
                   
msg.setBornHost(RemotingUtil.string2SocketAddress(requestHeader.getBornHost()));
               }
   
     if (requestHeader.getStoreHost() != null) {
                   
msg.setStoreHost(RemotingUtil.string2SocketAddress(requestHeader.getStoreHost()));
            }
   ```
   the RemotingUtil.string2SocketAddress method  create new InetSocketAddress 
instance , when run code ``addr = InetAddress.getByName(hostname);``  it cost a 
long time,  and   the ``RequestResponseFuture``   instance was  removed from 
``RequestFutureTable``   map。
   
   env : 
   os: centos linux 7 64bit
   jdk: openjdk 8 
   ip:  172.18.5.188 eth0
   
   the mechine is one of the kubernates node , and there are many vethxxxx 
network device
   
   
   
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to