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

pump: Extract function and add unit tests #503

Merged
merged 1 commit into from
Mar 28, 2019
Merged

pump: Extract function and add unit tests #503

merged 1 commit into from
Mar 28, 2019

Conversation

suzaku
Copy link
Contributor

@suzaku suzaku commented Mar 27, 2019

What problem does this PR solve?

Refactor to make NewAppendWithResolver a little shorter

What is changed and how it works?

Extract a new function openMetadataDB from NewAppendWithResolver

Check List

Tests

  • Unit test

Code changes

Side effects

Related changes

@suzaku
Copy link
Contributor Author

suzaku commented Mar 27, 2019

/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1

@suzaku
Copy link
Contributor Author

suzaku commented Mar 27, 2019

/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1

@july2993
Copy link
Contributor

@suzaku you can just push new commits to address comment, so reviewer will be easy seeing what is update, currently we always use squash and merge, you can edit the commit message when merging the pr.
you can merge you pr youself once got two LGTM

@suzaku
Copy link
Contributor Author

suzaku commented Mar 27, 2019

@july2993 OK, so I don't have to rebase myself. But with squash and merge turned on, we must remember to keep PRs small.

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

@suzaku suzaku merged commit 7bd233e into pingcap:master Mar 28, 2019
@suzaku suzaku deleted the extract-func-add-test branch March 28, 2019 05:53
july2993 added a commit that referenced this pull request Apr 10, 2019
* pump: Extract function and add unit tests (#503)

* pump/: Add syn-log option (#509)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants