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

feat: add threads parameter to openGauss restore subcommand #465

Closed mlycore closed 9 months ago

mlycore commented 9 months ago

Type of change:

What this PR does / why we need it:

gs_pitr restore support --dn-threads-num which refers to openGauss gs_probackup restore --threads

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: 798 lines in your changes are missing coverage. Please review.

Comparison is base (3604a24) 39.71% compared to head (c363109) 36.72%. Report is 195 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/cli/internal/cmd/delete.go 59.50% 38 Missing and 11 partials :warning:
pitr/agent/internal/pkg/opengauss.go 2.56% 38 Missing :warning:
...ator/cmd/shardingsphere-operator/manager/option.go 6.06% 31 Missing :warning:
pitr/cli/internal/pkg/local-storage.go 3.22% 30 Missing :warning:
...ere-operator/pkg/kubernetes/container/container.go 31.25% 22 Missing :warning:
shardingsphere-operator/pkg/kubernetes/helpers.go 46.15% 20 Missing and 1 partial :warning:
pitr/agent/internal/handler/restore.go 0.00% 20 Missing :warning:
... and 12 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #465 +/- ## ========================================== - Coverage 39.71% 36.72% -3.00% ========================================== Files 51 61 +10 Lines 6083 6764 +681 ========================================== + Hits 2416 2484 +68 - Misses 3448 4041 +593 - Partials 219 239 +20 ```

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