-
Notifications
You must be signed in to change notification settings - Fork 299
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
Files are not deleted when deleting folder #1904
Comments
Thanks! This is smelling like a bug indeed in the way we are computing the |
@dadoonet the issue seems to come from the url, since we are indexing from a network share. So i changed the url in the yaml from this: to this: EDIT: So i guess this does not have any high prio :) Best, |
w00t! Nice finding! Thanks for debugging this. |
There's something I don't understand. In the index Which does not make sense to me as you are using: How did you end up creating those documents? Obviously, this can not match with the generated
Do you have an idea of why this is happening? |
Hey, thanks for looking into this :) Sorry, i think i messed up the index while trying to trace down the issue. I now re-created the scenario (note the folder
The document index looks the same before and after step 3: The folder index had the folder after step 1: Here the new trace log (step 3): It seems like fscrawler is not able to find any files with by root I hope this helps |
Describe the bug
When deleting a folder the inner files are not deleted.
All nested folders are deleted correctly, and also the files are deleted correctly if they are removed directly.
Job Settings
Logs
This is just a snippet, here the full log:
log_delete.log
It seems like fscrawler is finding the files and trying to delete them, but the ids (96cb945bf79a714ce1fef45f99043f8, f3894f59b290cce3a237e5b5b94b54c) are not matching.
The files have different ids:
Expected behavior
When a folder is deleted, all files inside this folder are also deleted
Versions:
Best,
Philipp
The text was updated successfully, but these errors were encountered: