We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
smiyc@pm.me
1.22.2
1.26
Other
YAML manifest
The progress in the Physical backups section of kubectl-cnpg status is not correctly calculated
Physical backups
kubectl-cnpg status
Physical backups Name Phase Started at Total Transferred Progress Tablespaces ---- ----- ---------- ----- ----------- -------- ----------- keycloak-2-join streaming database files 2024-04-17T12:59:48.939639Z 46 GB 38 GB 0.84% 0/1
according to 2d1c4db the progress is calculated BackupStreamed/BackupTotal
progress := "" if bb.BackupTotal != 0 { progress = fmt.Sprintf("%.2f%%", float64(bb.BackupStreamed)/float64(bb.BackupTotal)) }
imho it should be 100/BackupTotal*BackupStreamed
No response
The text was updated successfully, but these errors were encountered:
This was already fixed on #4131
Sorry, something went wrong.
gbartolini
No branches or pull requests
Is there an existing issue already for this bug?
I have read the troubleshooting guide
I am running a supported version of CloudNativePG
Contact Details
smiyc@pm.me
Version
1.22.2
What version of Kubernetes are you using?
1.26
What is your Kubernetes environment?
Other
How did you install the operator?
YAML manifest
What happened?
The progress in the
Physical backups
section ofkubectl-cnpg status
is not correctly calculatedaccording to 2d1c4db the progress is calculated BackupStreamed/BackupTotal
imho it should be 100/BackupTotal*BackupStreamed
Cluster resource
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: