[ISSUE #8429] Fix trace message loss when traffic is heavy#8430
Merged
lizhimins merged 1 commit intoapache:developapache/rocketmq:developfrom Jul 29, 2024
Merged
[ISSUE #8429] Fix trace message loss when traffic is heavy#8430lizhimins merged 1 commit intoapache:developapache/rocketmq:developfrom
lizhimins merged 1 commit intoapache:developapache/rocketmq:developfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8430 +/- ##
=============================================
+ Coverage 44.22% 45.85% +1.62%
- Complexity 10727 11103 +376
=============================================
Files 1274 1274
Lines 88939 88987 +48
Branches 11432 11441 +9
=============================================
+ Hits 39330 40801 +1471
+ Misses 44636 43074 -1562
- Partials 4973 5112 +139 ☔ View full report in Codecov by Sentry. |
lizhimins
reviewed
Jul 23, 2024
lollipopjin
reviewed
Jul 23, 2024
drpmma
reviewed
Jul 23, 2024
drpmma
reviewed
Jul 23, 2024
118ce0d to
7d18b28
Compare
lizhimins
reviewed
Jul 29, 2024
ec3560f to
7eb0158
Compare
lizhimins
previously approved these changes
Jul 29, 2024
lizhimins
approved these changes
Jul 29, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which Issue(s) This PR Fixes
Fixes #8429
Brief Description
当客户端消息生成或者消费tps较高时,轨迹消息batch量会比较大,由于之前没限制batch size,当batch size太大时候会出现轨迹消息丢失
When the TPS (Transactions Per Second) of client message generation or consumption is high, the batch size of trajectory messages can become quite large. Due to the lack of a batch size limit previously, when the batch size becomes too large, there is a probabilistic loss of trajectory messages.
How Did You Test This Change?