​Hi, I am glad to say thank you for your letter. Recently I get a new problem, this problem can result in JVM crashed. The situation is that there are some duplicate documents(the document data is duplicate, not the docId) in the database and the following is my filter method:<div><span style="white-space: pre;">   </span> MSet mset=enquire.<font color="#ff0000">getMSet</font>(0,10);//offeset,pagesize<div><div>         MSetIterator mSetIterator=mset.begin();</div><div>         while(mSetIterator.hasNext()){</div><div>         if(docId!=0){</div><div>                <a href="http://logger.info/" target="_blank" title="This external link will open in a new window">LOGGER.info</a>("before delete");</div><div>                <a href="http://logger.info/" target="_blank" title="This external link will open in a new window">LOGGER.info</a>("Delete document id="+mSetIterator.getDocId()+" this document is about                                 newsId="+mSetIterator.getDocument().getData()+"; query newsId="+mnm.getNewsId());</div><div>               writableDatabase.<font color="#ff0000">deleteDocument</font>(mSetIterator.getDocId());</div><div>               mSetIterator.next();</div><div>               continue;</div><div>        }</div><div>        docId = mSetIterator.getDocId();</div><div>        <a href="http://logger.info/" target="_blank" title="This external link will open in a new window">LOGGER.info</a>("docId:"+docId);</div><div>       mSetIterator.next();</div><div>}</div><div><span style="white-space: pre;">        </span>The attachment is jvm crash log, and I do not call commit() method. My opinion is that Because the persistence to the hard disk is automatically generated, it is possible get_document () to get the deleted document. And I want to know that if I call commit(), the data is flushing into hard disk after the func is done? </div><div><span style="white-space: pre;">       </span>So sorry to interrupt you again!</div></div></div>