-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*(ticdc): optimize memory usage of RowChangedEvent #10483
Conversation
1cf2afc
to
d0c061e
Compare
b187bf7
to
ebd4e2f
Compare
Codecov Report
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #10483 +/- ##
================================================
+ Coverage 57.6333% 57.6760% +0.0427%
================================================
Files 849 849
Lines 126085 127025 +940
================================================
+ Hits 72667 73263 +596
- Misses 47988 48298 +310
- Partials 5430 5464 +34 |
/test cdc-integration-mysql-test |
/test verify |
/test cdc-integration-storage-test |
/test verify |
8646e93
to
401c574
Compare
3a8379a
to
8901f4f
Compare
/test cdc-integration-storage-test |
/test cdc-integration-mysql-test |
48605e3
to
7178975
Compare
7178975
to
b8dedf3
Compare
19df8fe
to
2949bee
Compare
Excellent work! Respect! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asddongmen, sdojjy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/retest |
/retest required |
@lidezhu: The
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test cdc-integration-mysql-test |
4fab31e
to
fb658b9
Compare
/test cdc-integration-storage-test |
/test verify |
/retest |
…ingcap#10483)"" This reverts commit 4909878.
What problem does this PR solve?
Issue Number: close #10386
What is changed and how it works?
ColumnData
to represent column data, and the schema info of column can only be fetched fromTableInfo
;[]*Column
inRowChangedEvent
with[]*ColumnData
;RowChangedEvent.GetColumns
andRowChangedEvent.GetPreColumns
to get theColumn
representation of columns;nil
inRowChangedEvent.Columns
andRowChangedEvent.PreColumns
, so this pr remove some code in sink module to handlenil
value.TableInfo
in all kinds of tests;Check List
Tests
memory-quota
set 8GB;Before optimization, peak memory usage: 26.5GB,
After optimization, peak memory usage: 10.2GB,
The peak memory usage decrease about 60%.
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note