enhance: bind snapshot lifecycle to collection - #48143
Conversation
|
@weiliu1031 This is a feature PR ( How to resolve: Design documents location: https://github.com/milvus-io/milvus-design-docs/tree/main/design_docs |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (71.19%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #48143 +/- ##
==========================================
+ Coverage 77.97% 78.02% +0.04%
==========================================
Files 2168 2168
Lines 356851 357887 +1036
==========================================
+ Hits 278271 279243 +972
- Misses 70010 70042 +32
- Partials 8570 8602 +32
🚀 New features to boost your workflow:
|
49f05fb to
1bd8adc
Compare
|
@weiliu1031 go-sdk check failed, comment |
1bd8adc to
bf5b3f7
Compare
b08257d to
465707f
Compare
|
/ci-rerun-e2e-default |
1 similar comment
|
/ci-rerun-e2e-default |
|
/refresh-label |
|
internal/datacoord/snapshot_manager.go:631 Broadcast lock acquired too late — after |
|
internal/datacoord/snapshot_manager.go:1172 |
|
pkg/proto/data_coord.proto:3 |
|
internal/datacoord/snapshot.go:8 |
|
tests/python_client/milvus_client/test_milvus_client_snapshot.py:1 All 18 snapshot test classes are |
78486f6 to
b4c9f61
Compare
b4c9f61 to
42ee421
Compare
Response to review comments (commit 42ee421ce1)All code changes have been pushed. Below is a point-by-point response to each issue-level comment. 1.
|
|
/lgtm |
|
/ci-rerun-code-check |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liliu-z, weiliu1031 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/rerun ci-v2/go-sdk |
|
/ci-rerun-go-sdk |
|
/ci-rerun-go-sdk |
|
/ci-rerun-e2e-default |
|
/ci-rerun-go-sdk |
issue: milvus-io#47658 Squash of 16 commits implementing: - Snapshot lifecycle bound to source collection - Pin/Unpin snapshot data APIs with TTL support - Per-collection snapshot name uniqueness - GC and concurrency fixes from PR review See PR milvus-io#48143 for full details. Signed-off-by: Wei Liu <wei.liu@zilliz.com>
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
|
/ci-rerun-e2e-default |
Summary
issue: #44358
issue: #47890
issue: #47883
issue: #47855
Test plan
Note on skipped Python E2E tests
All 18 snapshot test classes in
tests/python_client/milvus_client/test_milvus_client_snapshot.pyare temporarily skipped with@pytest.mark.skip. Reason: this PR changes snapshot APIs (DropSnapshot, DescribeSnapshot, RestoreSnapshot) to requirecollection_nameas a mandatory parameter, but the pymilvus SDK used in CI has not been updated to pass this parameter yet. The tests will be re-enabled once pymilvus SDK is updated to match the new API contract.🤖 Generated with Claude Code
design doc: https://github.com/milvus-io/milvus-design-docs/blob/main/design_docs/20251114-snapshot_design.md