apache / shardingsphere-on-cloud

A collection of tools and best practices to take ShardingSphere into the cloud
Apache License 2.0
83 stars 28 forks source link

refactor: refactor to disk space error while backing up #474

Closed mlycore closed 9 months ago

mlycore commented 9 months ago

Type of change:

What this PR does / why we need it:

Pre-submission checklist:

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov-commenter commented 9 months ago

Codecov Report

Attention: 920 lines in your changes are missing coverage. Please review.

Comparison is base (3604a24) 39.71% compared to head (edfade4) 36.83%. Report is 226 commits behind head on main.

Files Patch % Lines
...phere-operator/pkg/controllers/chaos_controller.go 0.00% 276 Missing :warning:
...perator/pkg/controllers/storage_node_controller.go 26.58% 96 Missing and 20 partials :warning:
...operator/pkg/controllers/auto_scaler_controller.go 0.00% 89 Missing :warning:
pitr/agent/internal/pkg/opengauss.go 6.52% 86 Missing :warning:
pitr/cli/internal/cmd/delete.go 67.45% 43 Missing and 12 partials :warning:
pitr/cli/pkg/prettyoutput/progress.go 8.51% 43 Missing :warning:
pitr/cli/internal/pkg/local-storage.go 11.11% 37 Missing and 3 partials :warning:
...ator/cmd/shardingsphere-operator/manager/option.go 6.06% 31 Missing :warning:
pitr/cli/internal/cmd/backup.go 74.78% 28 Missing and 2 partials :warning:
pitr/cli/internal/cmd/common.go 77.77% 16 Missing and 8 partials :warning:
... and 12 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #474 +/- ## ========================================== - Coverage 39.71% 36.83% -2.89% ========================================== Files 51 60 +9 Lines 6083 6942 +859 ========================================== + Hits 2416 2557 +141 - Misses 3448 4139 +691 - Partials 219 246 +27 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.