You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "superheizai (JIRA)" <ji...@apache.org> on 2018/03/01 14:56:00 UTC

[jira] [Commented] (ROCKETMQ-368) subscriptionGroup missed after restart

    [ https://issues.apache.org/jira/browse/ROCKETMQ-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16382099#comment-16382099 ] 

superheizai commented on ROCKETMQ-368:
--------------------------------------

Yesterday night, I came up with this problem again. I have two nodes,  I restarted them one by one. At last, both node were started, but one of them missed some subscriptiongroups in one node, the other one is normal. I checked the broker.log on the  node with missing subscriptiongroups, found only part of subscriptiongroups were loaded  from store/config/subscriptionGroup.json. I also check the subscriptionGroup.json.bak, which also have these missing subscriptiongroups

> subscriptionGroup missed after restart
> --------------------------------------
>
>                 Key: ROCKETMQ-368
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-368
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-broker
>    Affects Versions: 4.1.0-incubating
>         Environment: Red Hat Enterprise Linux Server release 6.8 (Santiago)
> java version "1.8.0_121"
>            Reporter: superheizai
>            Assignee: yukon
>            Priority: Major
>
> When we changed IDC infrastructure, the server lost power by accident. When we found after half an hour, we power on the server and restart the broker.
> But then, some teams found that then couldn't consume message from the restarted server any more, and got an exception, the subscriptionGroup doesn't exist. I checked the consumerOffset file and subscriptionFile under store path, I found the subscriptionGroup info in consumerOffset file, but not in the subscriptionGroup file. At the same file, I found many subscriptionGroup missed 
> in the subscriptionGroup file. 
> I fix this by updateSubscriptionGroup command. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)