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

Ensure the mito engine can always recover the last entry ID correctly. #3152

Open
WenyXu opened this issue Jan 12, 2024 · 0 comments
Open

Ensure the mito engine can always recover the last entry ID correctly. #3152

WenyXu opened this issue Jan 12, 2024 · 0 comments

Comments

@WenyXu
Copy link
Member

WenyXu commented Jan 12, 2024

What type of enhancement is this?

Tech debt reduction

What does the enhancement do?

While using Kafka as remote WAL, we don't rely on the EntryId generated by mito2. Instead, we use the offset return from Kafka as EntryId. We overwrite the EntryId with RecordOffset. Therefore, we must ensure the mito engine can always recover the last entry ID correctly.

See also:

Implementation challenges

No response

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

No branches or pull requests

1 participant