You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "xieliuping (JIRA)" <ji...@apache.org> on 2018/02/11 07:38:02 UTC
[jira] [Reopened] (ROCKETMQ-366) broker通过wipeWritePerm去掉写权限,然后 “ ~/store/commitlog/[最新的一个文件] ”过几分钟通过 ll 命令查看这个文件的修改时间会一直更新。
[ https://issues.apache.org/jira/browse/ROCKETMQ-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xieliuping reopened ROCKETMQ-366:
---------------------------------
> broker通过wipeWritePerm去掉写权限,然后 “ ~/store/commitlog/[最新的一个文件] ”过几分钟通过 ll 命令查看这个文件的修改时间会一直更新。
> -------------------------------------------------------------------------------------------
>
> Key: ROCKETMQ-366
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-366
> Project: Apache RocketMQ
> Issue Type: Bug
> Components: rocketmq-broker
> Affects Versions: 4.0.0-incubating
> Reporter: xieliuping
> Assignee: vongosling
> Priority: Major
> Attachments: store_2018-01-17.log
>
>
> broker的重启升级问题,
> *步骤如下*:
> 1,通过wipeWritePerm去掉broker的写权限;
> 2,检查当前broker已经没有接收到producer的新的数据;
> 3,等待之前的数据被consumer全部消费,查看diff为0。
> *问题:* 然后通过 ll 命令查看目录“ ~/store/commitlog” 发现最新的一个文件(00000xxx)的修改时间一直在变,持续几个小时。当时通过停止这个master对应的slave也没有生效。这个问题通过查看源码分析各种可能性都没有发现原因,希望可以帮忙解释下。
> *日志*:整个过程没有错误日志产生。
> *产生概率*:偶尔发生,非必显。
> *影响*:这样如果直接重启broker是否会有数据丢失!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)