[
https://issues.apache.org/jira/browse/ROCKETMQ-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15844085#comment-15844085
]
ASF GitHub Bot commented on ROCKETMQ-74:
----------------------------------------
Github user lizhanhui commented on the issue:
https://github.com/apache/incubator-rocketmq/pull/50
@vongosling Any opinion on this PR? If not, I would merge it to master
branch.
> 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, 4.1.0-incubating
> Environment: All
> Reporter: Zhanhui Li
> Assignee: yukon
> Fix For: 4.1.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.4#6332)