We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
索引文件没有定时通过force()方法强行写入硬盘, LogIndex类的close()方法也没有被调用, 进程被kill或断电应该会造成索引文件记录读写位置和数据文件的记录不一致. 请问sunli关于索引文件和数据文件一致性的问题你是如果考虑的.
Original issue reported on code.google.com by kangtsai...@gmail.com on 8 Jun 2012 at 9:40
kangtsai...@gmail.com
The text was updated successfully, but these errors were encountered:
这是一个bug.。在开源的时候,这块代码给弄丢了。 在一致性上,index和 数据之间的确会有有问题。目前的处理仅仅是先写数据,再�� �db。 所以kill进程基本上不会有问题,在操作系统crash、断电的时�� �容易出现不一致的问题。 当初考虑过通过log的方式来解决,但是为了尽量追求性能,�� �以抛弃了这块的一致性。
Original comment by sunli1...@gmail.com on 27 Jun 2012 at 6:13
sunli1...@gmail.com
Sorry, something went wrong.
感谢sunli的回答。
Original comment by kangtsai...@gmail.com on 7 Jul 2012 at 3:49
No branches or pull requests
Original issue reported on code.google.com by
kangtsai...@gmail.com
on 8 Jun 2012 at 9:40The text was updated successfully, but these errors were encountered: