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

Add durability flag in local examples #9579

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

GuptaManan100
Copy link
Member

@GuptaManan100 GuptaManan100 commented Jan 28, 2022

Description

A new flag -durability_policy for vtctld was introduced and it should now be provided in the local examples. This PR accomplishes that change of adding the new flag to vtctld-up.sh in all the examples which are using semi-sync.

We also start using PlannedReparentShard for cluster initialisation in the example.

The changes to the scripts have been tested locally by inserting data, reading it, performing failovers (both planned and emergency) and inserting and reading data again. I have also checked the logs and verified that everything is in order.

Related Issue(s)

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

…ere semi_sync is enabled

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
@GuptaManan100 GuptaManan100 added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Examples release notes none labels Jan 28, 2022
@deepthi deepthi merged commit 51639e8 into vitessio:main Jan 28, 2022
@deepthi deepthi deleted the local-example-add-durability-flag branch January 28, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Examples Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants