Skip to content

fix: mysql cluster execute ops VolumeExpansion Failed#2950

Merged
free6om merged 3 commits intomainfrom
bugfix/mysql-cluster-execute-ops-VolumeExpansion-failed
Apr 25, 2023
Merged

fix: mysql cluster execute ops VolumeExpansion Failed#2950
free6om merged 3 commits intomainfrom
bugfix/mysql-cluster-execute-ops-VolumeExpansion-failed

Conversation

@free6om
Copy link
Copy Markdown
Contributor

@free6om free6om commented Apr 25, 2023

fix #2891

createPVC(clusterObject.Name, storageClassName, vctName, pvcName)
pvcNames := make([]string, 0)
for i := 0; i < replicas; i++ {
pvcName := fmt.Sprintf("%s-%s-%s-%d", vctName, clusterObject.Name, consensusCompName, i)
Copy link
Copy Markdown
Contributor

@nashtsai nashtsai Apr 25, 2023

Choose a reason for hiding this comment

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

seems duplicated to other test cases, would be better this is provided by cluster.spec.componentSpecs.GetVolumeClaimTemplatePrefix helper function

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done: a5f232b

@free6om free6om merged commit 87ae373 into main Apr 25, 2023
@free6om free6om deleted the bugfix/mysql-cluster-execute-ops-VolumeExpansion-failed branch April 25, 2023 15:38
free6om added a commit that referenced this pull request Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] mysql cluster execute ops VolumeExpansion Failed

4 participants