apache / shardingsphere-on-cloud

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

feat: add Init before AddInstance while backing up #480

Closed mlycore closed 11 months ago

mlycore commented 11 months ago

Type of change:

What this PR does / why we need it:

Using gs_probackup init to init dn-backup-path before AddInstance

Pre-submission checklist:

sonarcloud[bot] commented 11 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov-commenter commented 11 months ago

Codecov Report

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

Comparison is base (3604a24) 39.71% compared to head (8cb6480) 36.81%. Report is 240 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 #480 +/- ## ========================================== - Coverage 39.71% 36.81% -2.90% ========================================== Files 51 60 +9 Lines 6083 6945 +862 ========================================== + Hits 2416 2557 +141 - Misses 3448 4142 +694 - Partials 219 246 +27 ```

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