Uploaded image for project: 'Apache RocketMQ'
  1. Apache RocketMQ
  2. ROCKETMQ-284

ExpressionMessageFilter will pass some message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0-incubating
    • Fix Version/s: 4.2.0
    • Component/s: rocketmq-broker
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eric.liu Eric Liu
                Reporter:
                eric.liu Eric Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified