[Xapian-discuss] Deleted documents not deleted
Jean-Francois Dockes
jean-francois.dockes at wanadoo.fr
Tue Jun 19 18:20:18 BST 2007
I seem to be seeing cases where I call db.delete_document(somedocid) with
no error, then flush() and delete the database object, but the document is
still there after process exit. The write lock is normally deleted, so it
appears that the database close finished normally.
If I then then call delete_document(somedocid) from another
command/process, this time it goes away.
I've been seeing this forever (it's not related to a recent xapian version
or a flint/quartz thing). This seems to be somehow related to the index
state (on a given index, deletes work until they stop working, and I have
to reindex from scratch to get back to normal).
Would someone have any beginning of an idea of what could cause this ? I'm
quite probably doing something stupid.
Regards,
Jean-Francois Dockes
More information about the Xapian-discuss
mailing list