hard commit和soft commit理解

commitTracker分hard commit和soft commit即CommitTracker, SoftCommitTracker

软提交写内存,硬提交写硬盘的说法并不准确

在FSDirectory下,它们的区别是flush和force的区别。
只有在NrtCachingDirectory下,它们才有写内存,和写磁盘的区别

posted @ 2018-09-03 13:39  車輪の唄  阅读(19)  评论(0)    收藏  举报  来源