star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

feat(datastore): support backup and restore #3119

Open jialeicui opened 9 months ago

jialeicui commented 9 months ago

Description

TODO: prevent race condition issues in the datastore during operations.

Modules

Checklist

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (cd671cb) 91.60% compared to head (10c01c2) 82.81%. Report is 2 commits behind head on main.

Files Patch % Lines
...tarwhale/mlops/datastore/backup/BackupManager.java 82.35% 22 Missing and 14 partials :warning:
...va/ai/starwhale/mlops/api/DataStoreController.java 0.00% 19 Missing :warning:
...java/ai/starwhale/mlops/datastore/backup/Meta.java 25.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3119 +/- ## ============================================ - Coverage 91.60% 82.81% -8.79% - Complexity 0 3224 +3224 ============================================ Files 142 577 +435 Lines 16442 32335 +15893 Branches 61 1899 +1838 ============================================ + Hits 15062 26779 +11717 - Misses 1378 4715 +3337 - Partials 2 841 +839 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/3119/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/3119/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `72.09% <ø> (ø)` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/3119/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `73.45% <73.81%> (?)` | | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/3119/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `92.11% <100.00%> (+0.25%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/3119/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `91.85% <100.00%> (+0.24%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

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