You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "leizhiyuan (via GitHub)" <gi...@apache.org> on 2023/11/02 02:50:49 UTC

[I] [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed. [rocketmq]

leizhiyuan opened a new issue, #7526:
URL: https://github.com/apache/rocketmq/issues/7526

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions)  of this repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   none
   
   ### RocketMQ version
   
   4.x, 5.x
   
   ### JDK Version
   
   _No response_
   
   ### Describe the Bug
   
   When multiple brokers are involved, the internal implementation of this SDK is to query simultaneously and aggregate the results. In this way, each broker may return up to 64 records. Currently, there is no truncation in place for the final result, so it may exceed the parameter setting.
   
   ### Steps to Reproduce
   
   review the code
   
   ### What Did You Expect to See?
   
   return size <=maxNum
   
   ### What Did You See Instead?
   
   return size > maxNum
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed. [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7526:
URL: https://github.com/apache/rocketmq/issues/7526#issuecomment-2506871132

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed. [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7526: [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed.
URL: https://github.com/apache/rocketmq/issues/7526


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed. [rocketmq]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #7526:
URL: https://github.com/apache/rocketmq/issues/7526#issuecomment-1831118487

   There are also some bug with the current local disk Index design, such as filtering when hashing, which results in incorrect number of returned message num.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] The interface definition of queryMessage is not clear, and the query result may exceed the maxNum passed. [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7526:
URL: https://github.com/apache/rocketmq/issues/7526#issuecomment-2510321756

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org