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

*: fix DB connection close and all_mode integration test (#403) #435

Closed
wants to merge 5 commits into from

Conversation

sre-bot
Copy link

@sre-bot sre-bot commented Dec 17, 2019

cherry-pick #403 to release-1.0


What problem does this PR solve?

  • resume-task may fail because resetBaseConnFn returning an invalid existing connection
  • all_mode may fail with /tmp/dm_test/all_mode/worker1/log/dm-worker.log dosen't contain dispatch auto resume task.

What is changed and how it works?

  • close the connection but do not put it back to the underlying connection pool
  • wait for the task running before kill TiDB

Check List

Tests

  • Integration test

Related changes

  • Need to cherry-pick to the release branch

@sre-bot sre-bot added priority/unimportant Really minor change, requires approval from secondary reviewers type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport) type/test Changes related to test cases labels Dec 17, 2019
@csuzhangxc
Copy link
Member

/run-all-tests tidb=release-3.0

@csuzhangxc csuzhangxc added this to the v1.0.4 milestone Dec 17, 2019
@csuzhangxc csuzhangxc added the needs-update-release-note This PR should be added into release notes. Remove this label once the release notes are updated label Dec 17, 2019
@csuzhangxc
Copy link
Member

cherry-pick manually in #436.

@csuzhangxc csuzhangxc closed this Dec 17, 2019
@csuzhangxc csuzhangxc removed this from the v1.0.4 milestone Dec 17, 2019
@csuzhangxc csuzhangxc removed the needs-update-release-note This PR should be added into release notes. Remove this label once the release notes are updated label Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority/unimportant Really minor change, requires approval from secondary reviewers type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport) type/test Changes related to test cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants