canonical / mysql-k8s-operator

A Charmed Operator for running MySQL on Kubernetes
https://charmhub.io/mysql-k8s
Apache License 2.0
8 stars 16 forks source link

DPE-4613 Test for multi-relation scale in/out #489

Closed paulomach closed 2 months ago

paulomach commented 3 months ago

Issue #432 is not easily reproducible.

This PR tries to reproduce the use case, using multiple applications connected to a single cluster.

taurus-forever commented 3 months ago

@paulomach The test passed, and looks solid. Proposal: deploy mysql db 3 units and random(1-3) units of the router.

More IPs + more events inside.

Also, is profile=production used on purpose here?

paulomach commented 3 months ago

@paulomach The test passed, and looks solid. Proposal: deploy mysql db 3 units and random(1-3) units of the router.

More IPs + more events inside.

Also, is profile=production used on purpose here?

It's on testing.

I was out to replicate sunbeam deployment size + simultaneous scale in/out to catch their issue, but it may be helpful to exaggerate it here.

shayancanonical commented 2 months ago

May be we can add a couple more mysql-test-app applications and router applications to see if we run into https://github.com/canonical/mysql-k8s-operator/issues/476. Thoughts?