[
https://issues.apache.org/jira/browse/ROCKETMQ-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861188#comment-15861188
]
ASF subversion and git services commented on ROCKETMQ-74:
---------------------------------------------------------
Commit 767775838fbbf556e6ebc899f4ccab7f148d7aae in incubator-rocketmq's branch
refs/heads/release-4.0.0-incubating from [~lizhanhui]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-rocketmq.git;h=7677758 ]
[ROCKETMQ-74] Fix DataVersion equals defect, closes apache/incubator-rocketmq#50
> DataVersion equals not working as expected.
> -------------------------------------------
>
> Key: ROCKETMQ-74
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-74
> Project: Apache RocketMQ
> Issue Type: Bug
> Components: rocketmq-broker, rocketmq-namesrv
> Affects Versions: 4.0.0-incubating
> Environment: All
> Reporter: Zhanhui Li
> Assignee: yukon
> Fix For: 4.0.0-incubating
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> DataVersion equals method assumes that AtomicLong's equals method comparing
> by value. This assumption turns out invalid.
> This brings about a few issues, say, wipeWritePerm command would not be
> working as expected as perm will be overridden in 30s at most.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)