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

   ### 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
   
   CentOS 7.3
   
   ### RocketMQ version
   
   5.2.0
   
   ### JDK Version
   
   Open_JDK 1.8.0_202
   
   ### Describe the Bug
   
   
[ProduceAccumulator#getTotalBatchMaxBytes](https://github.com/apache/rocketmq/blob/develop/client/src/main/java/org/apache/rocketmq/client/producer/ProduceAccumulator.java#L186)
 should return totalHoldSize
   
   
![image](https://github.com/apache/rocketmq/assets/50660789/f96a0557-9dee-4d2c-b4bb-acf5cddd57a7)
   
   
   ### Steps to Reproduce
   
   none
   
   ### What Did You Expect to See?
   
   return totalHoldSize
   
   ### What Did You See Instead?
   
   return holdSize
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to