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 2021/11/08 03:10:24 UTC
[GitHub] [rocketmq] fsckzy opened a new issue #3468: Is this a Dledger bug? Only the master is working
fsckzy opened a new issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468
Rocketmq 4.9.1 dledger cluster mode, in the console, only the master has a Consume Count, and the slave is 0.
![image](https://user-images.githubusercontent.com/34021474/140678267-b08a39fc-d9e0-41f0-ba5e-e099259b82d1.png)
The configuration file is as follows:
```yaml
brokerClusterName = RaftCluster
brokerName=RaftNode00
listenPort=30911
namesrvAddr=192.168.69.46:9876;192.168.69.47:9876;192.168.69.48:9876
storePathRootDir=/data/rmqstore/node00
storePathCommitLog=/data/rmqstore/node00/commitlog
enableDLegerCommitLog=true
dLegerGroup=RaftNode00
dLegerPeers=n0-192.168.69.46:40911;n1-192.168.69.47:40912;n2-192.168.69.48:40913
dLegerSelfId=n0
sendMessageThreadPoolNums=8
defaultTopicQueueNums=40
```
--
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
[GitHub] [rocketmq] Git-Yang commented on issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
Git-Yang commented on issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468#issuecomment-962871657
> > 这里没有问题。默认情况下禁用从从设备读取。您可以通过传递 slaveReadEnable=true 来启用从站读取。 默认情况下,可以从slave读取内存后面40%的消息,你可以调整accessMessageInMemoryMaxRatio来调整比例。
>
> Thank you for your answer, I have a question: Why can't all 3 devices be read by default? If only the master provides services by default, will it cause a lot of pressure?
I think ISSUE#3461 can answer your question.
--
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
[GitHub] [rocketmq] fsckzy closed issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
fsckzy closed issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468
--
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
[GitHub] [rocketmq] Git-Yang edited a comment on issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
Git-Yang edited a comment on issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468#issuecomment-962871657
> > 这里没有问题。默认情况下禁用从从设备读取。您可以通过传递 slaveReadEnable=true 来启用从站读取。 默认情况下,可以从slave读取内存后面40%的消息,你可以调整accessMessageInMemoryMaxRatio来调整比例。
>
> Thank you for your answer, I have a question: Why can't all 3 devices be read by default? If only the master provides services by default, will it cause a lot of pressure?
I think ISSUE(https://github.com/apache/rocketmq/issues/3461) can answer your question.
--
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
[GitHub] [rocketmq] fsckzy commented on issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
fsckzy commented on issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468#issuecomment-962849559
> 这里没有问题。默认情况下禁用从从设备读取。您可以通过传递 slaveReadEnable=true 来启用从站读取。 默认情况下,可以从slave读取内存后面40%的消息,你可以调整accessMessageInMemoryMaxRatio来调整比例。
Thank you for your answer, I have a question:
Why can't all 3 devices be read by default? If only the master provides services by default, will it cause a lot of pressure?
--
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
[GitHub] [rocketmq] Git-Yang edited a comment on issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
Git-Yang edited a comment on issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468#issuecomment-962775778
There is no problem here. Reading from slave is disabled by default. You can enable slave reading by passing slaveReadEnable=true.
By default, messages that are 40% behind the memory can be read from the slave, and you can adjust the accessMessageInMemoryMaxRatio to adjust the ratio.
--
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
[GitHub] [rocketmq] Git-Yang commented on issue #3468: Is this a Dledger bug? Only the master is working
Posted by GitBox <gi...@apache.org>.
Git-Yang commented on issue #3468:
URL: https://github.com/apache/rocketmq/issues/3468#issuecomment-962775778
There is no problem here. Reading from slave is disabled by default. You can enable slave reading by passing slaveReadEnable=true.
--
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