Closed paulomach closed 4 months ago
Current username creation can lead to username collisions on cmr, due to it relying on relation id, that's only unique within a model.
Assemble the username with the model uuid and relation id, trimming to mysql's 32 char limit.
https://github.com/canonical/mysql-router-operator/pull/151#issuecomment-2208630237
Issue
Current username creation can lead to username collisions on cmr, due to it relying on relation id, that's only unique within a model.
Solution
Assemble the username with the model uuid and relation id, trimming to mysql's 32 char limit.