Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Conversation

@prydie
Copy link

@prydie prydie commented Aug 15, 2018

I've tested the implementation and it works. It's not completely without downtime, however.

I used the Wordpress demo during testing and a script that curls the WordPress site every second. It reliably returned a single 500 error during the primary failover.

We should probably write an E2E test covering the functionality. Happy to block merge until I've done so or open an issue to follow up.

Resolves: #198

@prydie prydie requested a review from owainlewis August 15, 2018 15:56
@prydie prydie added the feature label Aug 15, 2018
@prydie prydie added this to the 0.3.0 milestone Aug 15, 2018
@owainlewis
Copy link
Member

Probably worth adding that end to end test. I will do some manual testing tomorrow.

return nil
}

func (m *MySQLController) ensureMySQLVersion(c *v1alpha1.Cluster, ss *apps.StatefulSet) error {
Copy link
Member

Choose a reason for hiding this comment

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

Might be worth unit testing this logic.

Copy link
Member

@owainlewis owainlewis left a comment

Choose a reason for hiding this comment

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

LGTM. I think some minimal downtime might be expected when performing this kind of operation using the router. I'm not sure if there is any way we could mitigate it TBH.

@owainlewis owainlewis merged commit bc88e14 into master Aug 17, 2018
@owainlewis owainlewis deleted the ap/feature-198 branch August 17, 2018 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants