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

Write to CommitLog and Index does not in a transaction. #175

Open
yiippee opened this issue Mar 4, 2021 · 1 comment
Open

Write to CommitLog and Index does not in a transaction. #175

yiippee opened this issue Mar 4, 2021 · 1 comment

Comments

@yiippee
Copy link

yiippee commented Mar 4, 2021

Thanks a lot for your project, it is very helpful for me to learn kafka.
When I see the code, I find that, writeing a meesage to CommitLog and Index does not in a transaction, so how to ensure the consistency, or maybe I miss something? Thanks again. I am a Chinese student, so forgive my poor English.

@tangtaoit
Copy link

index和log本来就不需要事务 就算log写成功了 index没写成功 不影响程序正常运行,因为index本来就是稀散索引

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

2 participants