rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Bug] grpc客户端不适配从代理主模式(slaveActingMaster)模式

Open YongXiaoo opened this issue 1 year ago • 3 comments

Before Creating the Bug Report

  • [X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • [X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

arrch64

RocketMQ version

5.x

JDK Version

jdk 1.8

Describe the Bug

开启从代理主模式后,grpc客户端消费消息必现ack提交失败,最终提交成功

Steps to Reproduce

1、部署一主一从,开启从代理主和自动降级模式 2、进行消息收发

What Did You Expect to See?

正常情况ack成功且发生降级时ack成功

What Did You See Instead?

正常情况ack成功且发生降级时ack成功

Additional Context

No response

YongXiaoo avatar Sep 19 '24 09:09 YongXiaoo

复现时,nameserver也需要开启supportSlaveActingMaster参数

YongXiaoo avatar Sep 19 '24 09:09 YongXiaoo

你好,开启proxy后的集群可以正常发送消息不。

jaylu163 avatar Sep 27 '24 08:09 jaylu163

你好,开启proxy后的集群可以正常发送消息不。

需要将transientStorePoolEnable设置为false,可以发消息。但在proxy宕机时消息可能会丢,5.1.3proxy

YongXiaoo avatar Oct 15 '24 07:10 YongXiaoo

你好,开启proxy后的集群可以正常发送消息不。

需要将transientStorePoolEnable设置为false,可以发消息。但在proxy宕机时消息可能会丢,5.1.3proxy

local模式,主从集群发消息失败。 如图的部署实例 https://github.com/apache/rocketmq/discussions/8722

老哥,麻烦帮看下这是怎么配置呢,我看了下日志,没有报错。

jaylu163 avatar Oct 21 '24 10:10 jaylu163

This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] avatar Oct 22 '25 00:10 github-actions[bot]

This issue was closed because it has been inactive for 3 days since being marked as stale.

github-actions[bot] avatar Oct 26 '25 00:10 github-actions[bot]