Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #9149]Assign offset in offsetTable even if the subscription key not exist. #9150

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dingshuangxi888
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes #9149

Brief Description

When resetting offsets, it is equally required to persist the offset information for subscription relationships that have never been online, to support scenarios where offset synchronization is needed for backup clusters.

How Did You Test This Change?

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.99%. Comparing base (14ca1ce) to head (8d92df4).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9150      +/-   ##
=============================================
+ Coverage      47.93%   47.99%   +0.05%     
- Complexity     12046    12058      +12     
=============================================
  Files           1321     1321              
  Lines          93024    93015       -9     
  Branches       11926    11923       -3     
=============================================
+ Hits           44594    44639      +45     
+ Misses         42916    42846      -70     
- Partials        5514     5530      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@qianye1001 qianye1001 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Assign offset in offsetTable even if the subscriptio not exist.
3 participants