tantivy: Tantivy fails with `Failed purge deletes` error

I am getting a failure starting my application

Failed purge deletes: Error(PathDoesNotExist("/SOME_PATH/c475e13ef3ca45128b1f8d9ee42fe994.term")

This is on OS X. My computer crashed recently. What’s a good way to move forward here? Happy to help writing some code if that helps 😃

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16

Commits related to this issue

Most upvoted comments

Makes sense, I am also adding more logging and will try to reproduce on public pages.

Marius

On Jun 22, 2018, at 6:23 PM, Paul Masurel notifications@github.com wrote:

@winding-lines Reopening the issue.

If tantivy was working according to spec, your error message could only provoked manually by removing a file which you haven’t done. There is most likely a severe issue here (thank you very much for reporting it).

If someone manages to reproduce it, please document it here. Please set up and env_logger in your app to get tantivy logs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

@fulmicoton I did not delete files manually but my computer did crash.

I am using rev = “432d49d8147624”, just some hash I used at that time.

In normal operation I am indexing html documents, the fields are the url, title and body. When adding a new document I delete the previous one, there is also a button to mark documents as private.

My implementation is dumb, I initialize searchers for every request. Here is my my meta.json file.

meta.json.zip

I do not have other logs.