You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "Eric Liu (JIRA)" <ji...@apache.org> on 2017/08/29 02:07:00 UTC

[jira] [Created] (ROCKETMQ-284) ExpressionMessageFilter will pass some message

Eric Liu created ROCKETMQ-284:
---------------------------------

             Summary: ExpressionMessageFilter will pass some message
                 Key: ROCKETMQ-284
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-284
             Project: Apache RocketMQ
          Issue Type: Bug
          Components: rocketmq-broker
    Affects Versions: 4.1.0-incubating
            Reporter: Eric Liu
            Assignee: Eric Liu
             Fix For: 4.2.0-incubating


ExpressionMessageFilter will pass some message with tag's hash code less than 0.

This is not correct. After sql filter feature added, the tag's hash code in consume queue may be replaced by the address of consume queue ext. And, differences between them are:

1. Tag's hash code is an integer, values is between Integer.MIN and Integer.MAX.
2. Address of consume queue ext is a long, values is between Long.MIN and Integer.MIN - 1.

So, actually,  they are not conflict.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)