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

do not limit failover count when maxFailoverCount not greater than 0 (#977) #978

Merged
merged 1 commit into from
Oct 9, 2019

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Oct 9, 2019

cherry-pick #977 to release-1.0


What problem does this PR solve?

#965, added a maxFailoverCount limit to TiKV, set it to 3 in values.yaml. But the old TidbCluster object is 0, it can't failover after upgrade the tidb-operator.

To ensure compatibility, we should keep it no failover count limit if maxFailoverCount is 0.

What is changed and how does it work?

Check List

Tests

  • Unit test

Code changes

  • Has Go code change

Side effects

Related changes

  • Need to cherry-pick to the release branch

Does this PR introduce a user-facing change?:

NONE

@weekface
Copy link
Contributor

weekface commented Oct 9, 2019

/run-e2e-in-kind

@weekface weekface merged commit 5d1c178 into pingcap:release-1.0 Oct 9, 2019
yahonda pushed a commit that referenced this pull request Dec 27, 2021
…nfig (#978)

* zh: remove the get started section of using tidbmonitor

* zh: move monitor-a-tidb-cluster under reference

* zh: merge monitor-using-tidbmonitor into monitor-a-tidb-cluster

* zh: add contents about spec.prometheus.config

* zh: clearer

* zh: fix deadlinks

* zh: address comments

* zh: fix TOC

* zh: fix links

* Update zh/monitor-a-tidb-cluster.md

Co-authored-by: Ran <huangran@pingcap.com>

* zh: fix heading

* zh: address comments

* zh: address comments

* zh: fix link

* zh: address comments

* Update zh/monitor-a-tidb-cluster.md

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>

* Update zh/monitor-a-tidb-cluster.md

Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>

Co-authored-by: Ran <huangran@pingcap.com>
Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants