Skip to content
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

cdc: upgrade pebble and stabilize a case #6116

Merged
merged 9 commits into from
Jun 30, 2022

Conversation

hicqu
Copy link
Contributor

@hicqu hicqu commented Jun 29, 2022

Signed-off-by: qupeng qupeng@pingcap.com

What problem does this PR solve?

Issue Number: close #5798

What is changed and how it works?

Upgrade pebble, and use DisableAutomaticCompactions for that test case.

Check List

Tests

  • Unit test

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

None

Signed-off-by: qupeng <qupeng@pingcap.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Jun 29, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • hi-rustin
  • overvenus

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 29, 2022
Signed-off-by: qupeng <qupeng@pingcap.com>
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 29, 2022
Copy link
Member

@Rustin170506 Rustin170506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 29, 2022
Signed-off-by: qupeng <qupeng@pingcap.com>
@codecov-commenter
Copy link

Codecov Report

Merging #6116 (569ab6f) into master (5c5c5a5) will increase coverage by 0.0359%.
The diff coverage is 64.5669%.

Flag Coverage Δ
cdc 63.1697% <66.8604%> (+0.0242%) ⬆️
dm 51.9286% <100.0000%> (+0.0084%) ⬆️
engine 62.6124% <58.2278%> (+0.1323%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@@               Coverage Diff                @@
##             master      #6116        +/-   ##
================================================
+ Coverage   57.7148%   57.7508%   +0.0359%     
================================================
  Files           699        701         +2     
  Lines         82743      82785        +42     
================================================
+ Hits          47755      47809        +54     
+ Misses        30637      30617        -20     
- Partials       4351       4359         +8     

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jun 29, 2022
@overvenus
Copy link
Member

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 64b5793

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 29, 2022
@amyangfei
Copy link
Contributor

/run-dm-integration-test

@ti-chi-bot ti-chi-bot merged commit c9562c0 into pingcap:master Jun 30, 2022
asddongmen pushed a commit that referenced this pull request Jul 1, 2022
)

* syncer(dm): init schemaTracker when syncer run (#6052)

close #6014

* cdc: upgrade pebble and stabilize a case (#6116)

close #5798

* meta(engine): Resourcemeta support job level isolation (#5817)

close #5816

* owner(cdc): clean up admin jobs on async close (#6129)

close #6128

* pkg/errctx(engine): avoid creating goroutinue in errctx (#6061)

ref #6013

* cdc,pkg: accommodate systemd TimeoutStopSec and k8s terminationGracePeriodSeconds (#6097)

* cdc,pkg: accommodate systemd TimeoutStopSec and k8s terminationGracePeriodSeconds
* cdc: correct drain capture doc

Signed-off-by: Neil Shen <overvenus@gmail.com>

* cdc: drain waits for owner resign and table move out

Signed-off-by: Neil Shen <overvenus@gmail.com>

* tp(cdc): make drain capture scheduler aware of capture state

Signed-off-by: Neil Shen <overvenus@gmail.com>

* cdc: remove verbose log and set liveness stop after resign owner

Signed-off-by: Neil Shen <overvenus@gmail.com>

* cdc: skip owner resign when there is only one capture

Signed-off-by: Neil Shen <overvenus@gmail.com>

* fix ut

* apply comments

* fix integration test

* fix lint

Co-authored-by: Obliviate <756541536@qq.com>
Co-authored-by: qupeng <qupeng@pingcap.com>
Co-authored-by: maxshuang <huangguohao@pingcap.com>
Co-authored-by: Neil Shen <overvenus@gmail.com>
Co-authored-by: Yujie Xia <xiayjchn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaking test: TestIteratorWithTableFilter
6 participants