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

[improve][broker] Taking message deduplication snapshot when closing topic #22498

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mattisonchao
Copy link
Member

Motivation

The current implementation of message deduplication snapshot-taking may leave a very huge lag when traffic is high. if load balancer or someone tries to unload/load this topic the loading process may taking very long time.

Modifications

  • Make message deduplication snapshot method return a future.
  • Support force taking snapshot without interval condition check.
  • Taking the snapshot when closing the topic

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

…topic

Taking message deduplication snapshot when closing the topic to avoid reply large logs when the topic loads again.
@mattisonchao mattisonchao self-assigned this Apr 13, 2024
@mattisonchao mattisonchao added area/broker category/reliability The function does not work properly in certain specific environments or failures. e.g. data lost labels Apr 13, 2024
@mattisonchao mattisonchao added this to the 3.3.0 milestone Apr 13, 2024
@mattisonchao mattisonchao reopened this Apr 13, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 13, 2024
@dao-jun
Copy link
Member

dao-jun commented Apr 15, 2024

@mattisonchao Please fix the ci check failures

@mattisonchao
Copy link
Member Author

sorry, this PR still need some changes. @dao-jun

@coderzc coderzc modified the milestones: 3.3.0, 3.4.0 May 8, 2024
@lhotari lhotari modified the milestones: 4.0.0, 4.1.0 Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker category/reliability The function does not work properly in certain specific environments or failures. e.g. data lost doc-not-needed Your PR changes do not impact docs ready-to-test release/4.0.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants