enhance: [cp3.0]Support idempotent broadcast, with BulkImport as its first user - #53228
enhance: [cp3.0]Support idempotent broadcast, with BulkImport as its first user#53228bigsheeper wants to merge 1 commit into
Conversation
…first user Cherry-pick from master PR milvus-io#52544 Differences from the master diff, all forced by commits 3.0 does not carry: - broadcaster_with_rk.go is left as on 3.0; the header stamp that milvus-io#50796 moved there on master is done in broadcastTaskManager.broadcast instead, after the lifetime check and before getOrAddBroadcastTask. - handler_v2_test.go gains a "strings" import the 3.0 file lacked. - impl_test.go / task_import_test.go use scheduler.NewTaskScheduler and task.MetaCache, which is what compiles against the milvus-io#53023 refactor. Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
|
[INFO] PR Label Summary by Default
[WARNING] Milestone not set
You can set milestone by commenting: Use /refresh-label to update related check and label manually |
✅ CI Loop Results
|
| Stage | Result | Duration | Tests |
|---|---|---|---|
| ✅ Build | SUCCESS | 16.2min | - |
| ✅ Code-Check | SUCCESS | 9.8min | - |
| ✅ UT-Integration | SUCCESS | 25.8min | - |
| ✅ UT-GO | SUCCESS | 24.3min | - |
| ✅ UT-CPP-Cov | SUCCESS | 57.7min | 8668 total, 8668 passed, 0 failed |
Total: 81min | Pipeline | Artifacts
Overall Coverage: 37.7%
Diff Coverage: Go 0.0% (0 hit, 173 miss, 173 measurable lines, 549 unmeasured)
Diff Coverage HTML: view changed lines
Go Patch Warning: WARNING: Go patch coverage is partial; 549 changed lines were unmeasured.
Total Patch Coverage: 0.0% (0/173 measurable lines, 549 unmeasured)
This PR-branch backport carries the upstream duplicate-path fix across intact, and the remaining findings are documentation, configuration-guardrail, and observability gaps rather than correctness defects. Low
Nitpick
Carried over from #52544
|
Cherry-pick from master
pr: #52544
issue: #50954
Summary
Cherry-picked from master PR #52544 (merged).
Differences from the master diff
All forced by master commits that 3.0 does not carry; behavior is the same.
broadcaster_with_rk.gois left as on 3.0. Master stamps the broadcast header there because enhance: add WAL trace propagation #50796 (WAL trace propagation) moved it; 3.0 lacks that commit, so the stamp is done inbroadcastTaskManager.broadcastafter the lifetime check and beforegetOrAddBroadcastTask— still outside the manager lock.handler_v2_test.gogains a"strings"import the 3.0 file lacked.impl_test.go/task_import_test.gousescheduler.NewTaskSchedulerandtask.MetaCache, which is what compiles against the enhance: extract proxy task model and scheduler #53023 proxy refactor (the master lines are being fixed separately).properties.goadds only_ik; the_ci/_ctchunk constants from enhance: chunk oversized WAL payloads at the storage layer, drop proxy size-based packing #52775 are not on 3.0.Verification
broadcaster_with_rk.goneeds no change on 3.0)go veton all 12 touched packagesbroadcaster/pass, plusTestBroadcaster; datacoord, proxy, httpserver and pkg tests for the touched code passNote:
TestResourceKeyLocker/deadlock_preventionfails on a clean 3.0 checkout as well; this PR does not touchresource_key_locker.go.🤖 Generated with Claude Code
https://claude.ai/code/session_01JiydbgqqCdNu5vGQThy6v5