-
-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
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
Tantivy fails with Failed purge deletes
error
#324
Comments
This might be an actual bug. Which version of tantivy is this? Did you remove some files manually etc. |
Also is it something you can reproduce? |
I'm also interested in your |
@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. I do not have other logs. |
This sounds like a bug so your report is super helpful. If you somehow found a way to reproduce, |
Oh wait... And you are saying that you get that on your application startup ? The index itself is not something you can share, is it? |
I don't think I can share the index right now but I've added a listing of the folder I am trying to repro this, may need to wait until the weekend. I can send you an invite to the repo, it's on gitlab. |
Can you retrace exactly what happened and the current state please ? So far my understanding of the events :
Can you especially confirm that last point? |
@winding-lines Thanks for the invite. I see the two projects listed, but I cannot see the source code somehow. |
Sorry @fulmicoton, I am not very familiar with Gitlab, I've changed the settings some more let me know if things work better. I will work over the weekend to try to isolate the problem in a smaller test case. |
I had a bug in my start code and I was swallowing an Err() on process start.
Happy to add some more debugging statements if that helps :) |
@winding-lines Sorry I am still not entirely sure I understand what you experience and the current state of your index. I still don't understand whether your index is currently in a corrupted state or not. Ideally could you go through the list I wrote above, copy paste and edit it? |
@fulmicoton I deleted the index for the time being and I am adding more logging should this happen at some other time. I think it's ok to close this issue since I cannot provide more information to help debug. Sorry about the trouble. Marius |
@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. |
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 ***@***.***> 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.
|
Merge SegmentEntry are not requested atomically. Because of that, the list of entries may change in the middle of `start_merge` executing. The `segment_entries` fetched for each of the segment id end up having a different revision. As a result, we end up protecting a `.del` files associated to different opstamp. We select the delete queue opstamp by looking at the first segment entry only. If GC also kicks in, the .del files required to catch up with the delete queue may be deleted.
Fix has been confirmed. Will be published as a hotfix in 0.6.1 today. |
I am getting a failure starting my application
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 :)
The text was updated successfully, but these errors were encountered: