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

Stability: only expect upgrade complete when rollback bad conf #1030

Merged
merged 3 commits into from
Oct 21, 2019

Conversation

aylei
Copy link
Contributor

@aylei aylei commented Oct 20, 2019

Signed-off-by: Aylei rayingecho@gmail.com

What problem does this PR solve?

close #1029

What is changed and how does it work?

Only expect upgrade complete when rollback bad conf.

Check List

Tests

  • E2E test
  • Stability test, passed

Side effects

  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release-1.0 branch
  • Need to cherry-pick to the release-1.1 branch

Does this PR introduce a user-facing change?:

Stability: only expect upgrade complete when rollback bad configuration.

Signed-off-by: Aylei <rayingecho@gmail.com>
@aylei
Copy link
Contributor Author

aylei commented Oct 20, 2019

/run-e2e-in-kind

Signed-off-by: Aylei <rayingecho@gmail.com>
@aylei aylei added needs-cherry-pick-1.0 status/PTAL PR needs to be reviewed test/stability stability tests labels Oct 20, 2019
Signed-off-by: Aylei <rayingecho@gmail.com>
@aylei
Copy link
Contributor Author

aylei commented Oct 21, 2019

/run-e2e-in-kind

Copy link
Contributor

@weekface weekface left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@xunliu xunliu left a comment

Choose a reason for hiding this comment

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

LGTM.

@aylei aylei merged commit 06a2718 into pingcap:master Oct 21, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Oct 21, 2019

cherry pick to release-1.0 failed

aylei added a commit to aylei/tidb-operator that referenced this pull request Oct 21, 2019
aylei added a commit that referenced this pull request Oct 21, 2019
* Cherry-pick #1030

* Fix static check

Signed-off-by: Aylei <rayingecho@gmail.com>

* Fix checkUpgradeComplete logic

Signed-off-by: Aylei <rayingecho@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-1.0 status/PTAL PR needs to be reviewed test/stability stability tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stability test should not expect complete rolling-update when rollback the bad configuration
4 participants