You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "yukon (JIRA)" <ji...@apache.org> on 2017/02/10 10:04:41 UTC
[jira] [Closed] (ROCKETMQ-74) DataVersion equals not working as
expected.
[ https://issues.apache.org/jira/browse/ROCKETMQ-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yukon closed ROCKETMQ-74.
-------------------------
> 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)