xtechlife commented on issue #1727:
URL: https://github.com/apache/rocketmq/issues/1727#issuecomment-722982722


   这样直接修改源码,后续升级是不是比较麻烦,你是否可以把这个方法提交给官方,获得认可后,官方把这个代码加上。
   
   lialatdd <[email protected]> 于2020年10月24日周六 下午3:58写道:
   
   > request reply调用,我也遇到很多超时的情况,使用的版本是4.6.0,这个问题是已经修复了吗?
   > 
4.7.1版本还有这个问题,我试着自己解决了,在RequestResponseFuture中增加AtomicBoolean类型属性markRemoved,将RequestFutureTable#scanExpiredRequest方法中的if(rep.isTimeout())替换为(rep.isTimeout()
   > && rep.getMarkRemoved().compareAndSet(false, true)) 可以解决这个问题,亲测有效
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/rocketmq/issues/1727#issuecomment-715877173>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AAFRMHQKECFSHQO5OFAPUULSMKCI5ANCNFSM4KHRCFMA>
   > .
   >
   


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


Reply via email to