Skip to content
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

Not returning all results #9

Open
AdamE87 opened this issue Jun 30, 2017 · 4 comments
Open

Not returning all results #9

AdamE87 opened this issue Jun 30, 2017 · 4 comments

Comments

@AdamE87
Copy link

AdamE87 commented Jun 30, 2017

Hello there,

I'm not sure what I can provide to assist in proving this but I've had it on multiple occasions where FF does not return all results within a folder. I've a folder of files (~1.3million) that I wish to DIR. I've run FF over it multiple times and got different results but never the full amount. If I run the same via standard DIR or via GCI in powershell the correct figure is returned.

Any ideas?

Thanks!

@JohnWintellect
Copy link
Member

I've not seen this. If you have a repo I will gladly look at it and see what's happening. I'll leave this issue open in case others have one.

@AdamE87
Copy link
Author

AdamE87 commented Jul 18, 2017

Hi John,

To be honest I'm just using a fork of your own library, i've changed nothing!

@batzen
Copy link

batzen commented Aug 5, 2017

repo should be repro. He need a sample showcasing your issue.

@patrickcbrown
Copy link

patrickcbrown commented Jan 19, 2018

I think I see the issue, the WriteResultsBatched task is being cancelled at completion of the RecurseFiles task. Can be reproduced by creating a directory with 1.3 million files in it and searching. The recursion completes very fast while output does not.

Might want to call ResultsQueue.CompleteAdding() also when recursion is complete. I ran into cases where I blocked indefinitely in WriteResultsBatched about 35 results short of 1.4 million.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants