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

🐞 bug: Each time PITR backup, the gs_probackup init operation is performed, and the agent reports an error. #483

Closed
peilinqian opened this issue Dec 26, 2023 · 1 comment

Comments

@peilinqian
Copy link

Environment

  • Contents of your values.yaml file,if your helm deployment process goes wrong.
  • Contents of your CRD resource file. Include proxy.shardingsphere.apache.org/v1alpha1 and proxyconfig.shardingsphere.apache.org/v1alpha1
  • Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version

Issue description

  • Which phase is not functioning properly, is it the installation phase or the apply CRD phase ?
    PITR

Error log

  • Including ShardingSphere-Proxy error log and ShardingSphere-Operator error log

{"level":"error","ts":"2023-12-26T10:36:03+08:00","caller":"pkg/opengauss.go:196","msg":"add instance failure[output=], err: exec failure[ee=exit status 1,stdout=ERROR: Instance 'ins-default-ss' backup directory already exists: '/home/peilq_og_sub/basebackup/backups/ins-default-ss'\n], wrap:10003-Command operate failed., wrap: 10006-The instance already exist."}

Expected result

The gs_probackup init operation is performed for each PITR backup. The agent displays a message but does not report an error.

@mlycore
Copy link
Contributor

mlycore commented Dec 26, 2023

The error was logged and returned, and this may cause backup execution interruption in previous version.

And this is fixed as below:

@mlycore mlycore added this to pitr Dec 26, 2023
@mlycore mlycore closed this as completed Dec 28, 2023
@github-project-automation github-project-automation bot moved this to Done in pitr Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants