Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

ha: refactor online DDL #494

Merged
merged 5 commits into from
Feb 27, 2020
Merged

Conversation

csuzhangxc
Copy link
Member

What problem does this PR solve?

refactor online DDL feature to be compatible with HA.

What is changed and how it works?

record source ID instead of server ID in online DDL meta table.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • Has persistent data change

Side effects

  • Breaking backward compatibility

Related changes

  • Need to be included in the release note

@csuzhangxc csuzhangxc added priority/normal Minor change, requires approval from ≥1 primary reviewer status/WIP This PR is still work in progress type/enhancement Performance improvement or refactoring labels Feb 27, 2020
@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

1 similar comment
@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

@csuzhangxc csuzhangxc added status/PTAL This PR is ready for review. Add this label back after committing new changes and removed status/WIP This PR is still work in progress labels Feb 27, 2020
@codecov
Copy link

codecov bot commented Feb 27, 2020

Codecov Report

Merging #494 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master       #494   +/-   ##
===========================================
  Coverage   55.8906%   55.8906%           
===========================================
  Files           184        184           
  Lines         18402      18402           
===========================================
  Hits          10285      10285           
  Misses         7071       7071           
  Partials       1046       1046

@csuzhangxc
Copy link
Member Author

@WangXiangUSTC @lichunzhu PTAL

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

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

rest LGTM

tests/online_ddl/run.sh Outdated Show resolved Hide resolved
tests/online_ddl/run.sh Show resolved Hide resolved
@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

Copy link
Contributor

@lichunzhu lichunzhu left a comment

Choose a reason for hiding this comment

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

LGTM

@lichunzhu lichunzhu added status/LGT1 One reviewer already commented LGTM and removed status/PTAL This PR is ready for review. Add this label back after committing new changes labels Feb 27, 2020
@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

@csuzhangxc
Copy link
Member Author

/run-all-tests tidb=release-3.0

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

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

LGTM

@WangXiangUSTC WangXiangUSTC added status/LGT2 Two reviewers already commented LGTM, ready for merge and removed status/LGT1 One reviewer already commented LGTM labels Feb 27, 2020
@csuzhangxc csuzhangxc merged commit f4c1a44 into pingcap:master Feb 27, 2020
@csuzhangxc csuzhangxc deleted the ha-online-ddl branch February 27, 2020 08:25
lichunzhu pushed a commit to lichunzhu/dm that referenced this pull request Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/normal Minor change, requires approval from ≥1 primary reviewer status/LGT2 Two reviewers already commented LGTM, ready for merge type/enhancement Performance improvement or refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants