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

fix: correct the order of sync meta snapshot and clean logs in wal on kafka #643

Merged

Conversation

Rachelint
Copy link
Contributor

Which issue does this PR close?

Closes #

Rationale for this change

Now, the order of sync meta snapshot and clean logs in wal onk kafka is unreasonable.

We must ensure that the meta snapshot has been persisted successfully before cleaning the related logs.

What changes are included in this PR?

See title.

Are there any user-facing changes?

None.

How does this change test

Test by ut.

@Rachelint Rachelint force-pushed the adjust-order-between-sync-and-clean branch from 596f492 to 3f5650d Compare February 14, 2023 05:47
Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

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

LGTM

@Rachelint Rachelint added this pull request to the merge queue Feb 14, 2023
Merged via the queue into apache:main with commit a7d3f72 Feb 14, 2023
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
@Rachelint Rachelint deleted the adjust-order-between-sync-and-clean branch May 27, 2023 12:20
This pull request was closed.
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.

2 participants