Skip to content

Conversation

@chyezh
Copy link
Contributor

@chyezh chyezh commented Nov 3, 2025

issue: #43897, #44123
pr: #45224
also pick pr: #45216,#45154,#45033,#45145,#45092,#45058,#45029

enhance: Close channel replicator more gracefully (#45029)

issue: #44123

enhance: Show create time for import job (#45058)

issue: #45056

fix: wal state may be unconsistent after recovering from crash (#45092)

issue: #45088, #45086

  • Message on control channel should trigger the checkpoint update.
  • LastConfrimedMessageID should be recovered from the minimum of
    checkpoint or the LastConfirmedMessageID of uncommitted txn.
  • Add more log info for wal debugging.

fix: make ack of broadcaster cannot canceled by client (#45145)

issue: #45141

  • make ack of broadcaster cannot canceled by rpc.
  • make clone for assignment snapshot of wal balancer.
  • add server id for GetReplicateCheckpoint to avoid failure.

enhance: support collection and index with WAL-based DDL framework (#45033)

issue: #43897

  • Part of collection/index related DDL is implemented by WAL-based DDL
    framework now.
  • Support following message type in wal, CreateCollection,
    DropCollection, CreatePartition, DropPartition, CreateIndex, AlterIndex,
    DropIndex.
  • Part of collection/index related DDL can be synced by new CDC now.
  • Refactor some UT for collection/index DDL.
  • Add Tombstone scheduler to manage the tombstone GC for collection or
    partition meta.
  • Move the vchannel allocation into streaming pchannel manager.

enhance: support load/release collection/partition with WAL-based DDL framework (#45154)

issue: #43897

  • Load/Release collection/partition is implemented by WAL-based DDL
    framework now.
  • Support AlterLoadConfig/DropLoadConfig in wal now.
  • Load/Release operation can be synced by new CDC now.
  • Refactor some UT for load/release DDL.

enhance: Don't start cdc by default (#45216)

issue: #44123

fix: unrecoverable when replicate from old (#45224)

issue: #44962

bigsheeper and others added 8 commits November 3, 2025 16:45
issue: milvus-io#44123

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: chyezh <chyezh@outlook.com>
issue: milvus-io#45056

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: chyezh <chyezh@outlook.com>
…s-io#45092)

issue: milvus-io#45088, milvus-io#45086

- Message on control channel should trigger the checkpoint update.
- LastConfrimedMessageID should be recovered from the minimum of
checkpoint or the LastConfirmedMessageID of uncommitted txn.
- Add more log info for wal debugging.

---------

Signed-off-by: chyezh <chyezh@outlook.com>
issue: milvus-io#45141

- make ack of broadcaster cannot canceled by rpc.
- make clone for assignment snapshot of wal balancer.
- add server id for GetReplicateCheckpoint to avoid failure.

Signed-off-by: chyezh <chyezh@outlook.com>
…ilvus-io#45033)

issue: milvus-io#43897

- Part of collection/index related DDL is implemented by WAL-based DDL
framework now.
- Support following message type in wal, CreateCollection,
DropCollection, CreatePartition, DropPartition, CreateIndex, AlterIndex,
DropIndex.
- Part of collection/index related DDL can be synced by new CDC now.
- Refactor some UT for collection/index DDL.
- Add Tombstone scheduler to manage the tombstone GC for collection or
partition meta.
- Move the vchannel allocation into streaming pchannel manager.

---------

Signed-off-by: chyezh <chyezh@outlook.com>
… framework (milvus-io#45154)

issue: milvus-io#43897

- Load/Release collection/partition is implemented by WAL-based DDL
framework now.
- Support AlterLoadConfig/DropLoadConfig in wal now.
- Load/Release operation can be synced by new CDC now.
- Refactor some UT for load/release DDL.

---------

Signed-off-by: chyezh <chyezh@outlook.com>
issue: milvus-io#44123

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: chyezh <chyezh@outlook.com>
issue: milvus-io#44962

Signed-off-by: chyezh <chyezh@outlook.com>
@sre-ci-robot sre-ci-robot added area/dependency Pull requests that update a dependency file area/test sig/testing size/XXL Denotes a PR that changes 1000+ lines. labels Nov 3, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Nov 3, 2025
@sre-ci-robot sre-ci-robot added the do-not-merge/need-milestone generate by v2-label-manager label Nov 3, 2025
@sre-ci-robot
Copy link
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #45224 merged to master

[WARNING] Milestone not set

You can set milestone by commenting:
/set-milestone
Example:
/set-milestone 2.5.0

Use /refresh-label to update related check and label manually

@chyezh chyezh added this to the 2.6.5 milestone Nov 3, 2025
@chyezh
Copy link
Contributor Author

chyezh commented Nov 3, 2025

/refresh-label

@sre-ci-robot sre-ci-robot removed the do-not-merge/need-milestone generate by v2-label-manager label Nov 3, 2025
@sre-ci-robot
Copy link
Contributor

[INFO] PR Label Summary by Refresh-Label

  • Title: enhance: cherry pick patch of new DDL framework and CDC 2
  • Target: 2.6
  • Labels: kind/enhancement, area/dependency, sig/testing, size/XXL, area/test, dco-passed, do-not-merge/need-milestone

[SUCCESS] PR #45224 merged to master

Use /refresh-label to update related check and label manually

@bigsheeper
Copy link
Contributor

/lgtm

@sre-ci-robot
Copy link
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #45224 merged to master

Use /refresh-label to update related check and label manually

@mergify
Copy link
Contributor

mergify bot commented Nov 3, 2025

@chyezh cpu-e2e job failed, comment /run-cpu-e2e can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Nov 3, 2025

/run-cpu-e2e

@sre-ci-robot
Copy link
Contributor

[ci-v2-notice]
Notice: We are gradually rolling out the new ci-v2 system.

  • Legacy CI jobs remain unaffected, you can just ignore ci-v2 if you don't want to run it.
  • Additional "ci-v2/*" checkers will run for this PR to ensure the new ci-v2 system is working as expected.
  • For tests that exist in both v1 and v2, passing in either system is considered PASS.

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check // for ci-v2/code-check
  • /ci-rerun-build // for ci-v2/build
  • /ci-rerun-ut-integration // for ci-v2/ut-integration
  • /ci-rerun-ut-go // for ci-v2/ut-go
  • /ci-rerun-ut-cpp // for ci-v2/ut-cpp
  • /ci-rerun-ut // for all ci-v2/ut-integration, ci-v2/ut-go, ci-v2/ut-cpp
  • /ci-rerun-e2e-arm // for ci-v2/e2e-arm

If you have any questions or requests, please contact @zhikunyao.

@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

❌ Patch coverage is 81.06945% with 308 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.80%. Comparing base (cb08db0) to head (b5ba2d4).
⚠️ Report is 179 commits behind head on 2.6.

Files with missing lines Patch % Lines
internal/datacoord/index_service.go 73.73% 19 Missing and 7 partials ⚠️
internal/querycoordv2/job/load_config.go 83.66% 20 Missing and 5 partials ⚠️
...nternal/rootcoord/ddl_callbacks_drop_collection.go 77.31% 16 Missing and 6 partials ⚠️
...ernal/rootcoord/ddl_callbacks_create_collection.go 85.81% 14 Missing and 7 partials ⚠️
internal/rootcoord/ddl_callbacks_drop_partition.go 76.47% 15 Missing and 5 partials ⚠️
...ternal/rootcoord/ddl_callbacks_create_partition.go 73.61% 13 Missing and 6 partials ⚠️
internal/querycoordv2/services.go 77.92% 17 Missing ⚠️
internal/rootcoord/meta_table.go 59.52% 12 Missing and 5 partials ⚠️
...2/ddl_callbacks_alter_load_info_load_collection.go 81.70% 9 Missing and 6 partials ⚠️
internal/querycoordv2/meta/replica_manager.go 68.88% 10 Missing and 4 partials ⚠️
... and 25 more

❌ Your project check has failed because the head coverage (76.80%) is below the target coverage (77.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.6   #45241      +/-   ##
==========================================
- Coverage   76.99%   76.80%   -0.20%     
==========================================
  Files        1700     1855     +155     
  Lines      262533   286258   +23725     
==========================================
+ Hits       202142   219862   +17720     
- Misses      53550    59121    +5571     
- Partials     6841     7275     +434     
Components Coverage Δ
Client 78.03% <65.76%> (-0.11%) ⬇️
Core 84.09% <77.61%> (+1.87%) ⬆️
Go 74.74% <52.50%> (-0.65%) ⬇️
Files with missing lines Coverage Δ
...replication/replicatemanager/channel_replicator.go 76.85% <100.00%> (+12.32%) ⬆️
internal/datacoord/ddl_callbacks_alter_index.go 100.00% <100.00%> (ø)
internal/datacoord/ddl_callbacks_drop_index.go 100.00% <100.00%> (ø)
internal/datacoord/index_meta.go 91.86% <100.00%> (-0.12%) ⬇️
internal/datacoord/server.go 67.76% <100.00%> (-0.88%) ⬇️
internal/datacoord/services.go 85.46% <100.00%> (+4.10%) ⬆️
internal/metastore/catalog.go 100.00% <ø> (ø)
internal/metastore/kv/rootcoord/kv_catalog.go 76.35% <100.00%> (+1.19%) ⬆️
internal/metastore/model/partition.go 100.00% <ø> (ø)
internal/querycoordv2/job/job_release.go 80.43% <100.00%> (-1.08%) ⬇️
... and 57 more

... and 480 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Copy link
Collaborator

@czs007 czs007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chyezh, czs007

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot
Copy link
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #45224 merged to master

Use /refresh-label to update related check and label manually

@chyezh
Copy link
Contributor Author

chyezh commented Nov 3, 2025

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Nov 3, 2025
@sre-ci-robot sre-ci-robot merged commit 02e2170 into milvus-io:2.6 Nov 3, 2025
14 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/dependency Pull requests that update a dependency file area/test ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm sig/testing size/XXL Denotes a PR that changes 1000+ lines.

4 participants