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

The automatic backup is set to once a second. The Operator container reports an error #687

Closed
qianfen2021 opened this issue Sep 6, 2022 · 0 comments · Fixed by #688
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@qianfen2021
Copy link

Describe the problem

The automatic backup is set to once a second. The Operator container reports an error ,the error:

2022-09-06T10:03:48.000+0800 ERROR controller-runtime.manager.controller.mysqlcluster.controllers.backupCronJob failed getting backups {"reconciler group": "mysql.radondb.com", "reconciler kind": "MysqlCluster", "name": "sample", "namespace": "default", "selector": {"LabelSelector":[{},{}],"FieldSelector":{},"Namespace":"default","Limit":0,"Continue":"","Raw":null}, "error": "Index with name field:status.completed does not exist"}
github.com/radondb/radondb-mysql-kubernetes/backup.(*CronJob).Run
/workspace/backup/cronbackup.go:44
github.com/wgliang/cron.(*Cron).runWithRecovery
/go/pkg/mod/github.com/wgliang/[email protected]/cron.go:251

To Reproduce

1.The automatic backup is set to once a second
2.create mysql cluster

Expected behavior

Environment:

  • RadonDB MySQL version:2.2.1
@qianfen2021 qianfen2021 added the bug Something isn't working label Sep 6, 2022
acekingke added a commit to acekingke/radondb-mysql-kubernetes that referenced this issue Sep 7, 2022
acekingke added a commit to acekingke/radondb-mysql-kubernetes that referenced this issue Sep 7, 2022
@qianfen2021 qianfen2021 added this to the v3.0.0 milestone Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants