jocko icon indicating copy to clipboard operation
jocko copied to clipboard

Write to CommitLog and Index does not in a transaction.

Open yiippee opened this issue 3 years ago • 1 comments

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.

yiippee avatar Mar 04 '21 06:03 yiippee

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

tangtaoit avatar Jun 09 '21 09:06 tangtaoit