dingshuangxi888 commented on issue #9518: URL: https://github.com/apache/rocketmq/issues/9518#issuecomment-3552377797
根因: 1. pop接口要求传递bornTime, 在存算分离架构里面,这个bornTime为了防止proxy和broker的机器出现时钟偏差,所以没有传,让broker自己设置,但是broker上设置的是RemotingCommand#extFields这个值。 2. 当开启ACL2.0的时候,为了能够获取到POP请求的参数,会提前进行一次deocde,这会导致RemotingCommand#cachedHeader已经缓存了旧值,因此上面的设置是无效的 修复方法: bornTime的设置基于decode之后的对象进行设置 -- 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]
