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

New stability test case for ConfigMap rollout #486

Closed
aylei opened this issue May 13, 2019 · 3 comments · Fixed by #499
Closed

New stability test case for ConfigMap rollout #486

aylei opened this issue May 13, 2019 · 3 comments · Fixed by #499
Assignees
Labels
test/stability stability tests

Comments

@aylei
Copy link
Contributor

aylei commented May 13, 2019

We need a stability test case for ConfigMap rollout, so that we can verify:

  • ConfigMap rollout won't break even in chaos environments;
  • Problematic ConfigMap won't take down the cluster (only one of the replica will down if the rolling-update logic is right)
  • After fixing a problematic ConfigMap, the cluster can recover without extra human intervention;
  • ConfigMap rollout won't introduce other problems when interacting with other cluster operations.

General design of this case:

  • Action: Update the config of pd/tikv/tidb to a new valid value
    • Desired: rolling-update, new config applied, no down time
  • Update the start-script of pd/tikv/tidb to a new valid value
    • Desired: rolling-update, new config applied, no down time
  • Update the config or start-script of pd/tikv/tidb to an invalid value
    • Desired: rolling-update blocked on the pod with the largest ordinal, no down time
  • Rollback the config or start-script in the previous step
    • Desired: cluster recovers, no down time
@aylei
Copy link
Contributor Author

aylei commented May 13, 2019

@xiaojingchen @weekface @zyguan PTAL

@weekface
Copy link
Contributor

LGTM

@xiaojingchen
Copy link
Contributor

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test/stability stability tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants