Skip to content

Conversation

@chyezh
Copy link
Contributor

@chyezh chyezh commented Nov 3, 2025

issue: #44172, #45210, #44851

kafka will auto reset the offset to "latest" if the offset is Out-of-range. the recovery of milvus wal cannot read any message from that. So once the offset is out-of-range, kafka should read from eariest to read the latest uncleared data.

https://kafka.apache.org/documentation/#consumerconfigs_auto.offset.reset

kafka will auto reset the offset to "latest" if the offset is
Out-of-range. the recovery of milvus wal cannot read any message from
that. So once the offset is out-of-range, kafka should read from eariest
to read the latest uncleared data.

Signed-off-by: chyezh <chyezh@outlook.com>
@sre-ci-robot sre-ci-robot requested review from sunby and xige-16 November 3, 2025 07:55
@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 lines. label Nov 3, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Nov 3, 2025
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

@chyezh chyezh added this to the 2.6.5 milestone Nov 3, 2025
@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

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.80%. Comparing base (25e0485) to head (6a5cd2d).
⚠️ Report is 6 commits behind head on master.

❌ Your project status 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             @@
##           master   #45237      +/-   ##
==========================================
+ Coverage   76.79%   76.80%   +0.01%     
==========================================
  Files        1864     1864              
  Lines      289102   289004      -98     
==========================================
- Hits       222004   221980      -24     
+ Misses      59816    59746      -70     
+ Partials     7282     7278       -4     
Components Coverage Δ
Client 78.03% <ø> (ø)
Core 83.89% <ø> (+<0.01%) ⬆️
Go 74.78% <ø> (+0.02%) ⬆️
see 37 files with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@chyezh
Copy link
Contributor Author

chyezh commented Nov 3, 2025

/ci-rerun-ut-integration

@mergify mergify bot added the ci-passed label Nov 3, 2025
@sre-ci-robot sre-ci-robot merged commit 31a609c into milvus-io:master Nov 3, 2025
17 of 19 checks passed
@chyezh chyezh deleted the fix_unrecoverable_kafka branch November 3, 2025 13:11
Xinyi7 pushed a commit to reddit/milvus that referenced this pull request Nov 3, 2025
…-io#45237)

issue: milvus-io#44172, milvus-io#45210, milvus-io#44851

kafka will auto reset the offset to "latest" if the offset is
Out-of-range. the recovery of milvus wal cannot read any message from
that. So once the offset is out-of-range, kafka should read from eariest
to read the latest uncleared data.


https://kafka.apache.org/documentation/#consumerconfigs_auto.offset.reset

Signed-off-by: chyezh <chyezh@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/XS Denotes a PR that changes 0-9 lines.

3 participants