Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the out of index issue when dispatch messages based on the avgBat…
…chSizePerMsg. (apache#10828) Using the avgBatchSizePerMsg to calculate the entries might over the remaining entries The fix is use Math.min(start + messagesForC, entries.size()) to avoid out of index exception
- Loading branch information