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

approximative file count #7

Open
bertrandrigaud opened this issue Nov 14, 2018 · 3 comments
Open

approximative file count #7

bertrandrigaud opened this issue Nov 14, 2018 · 3 comments
Assignees

Comments

@bertrandrigaud
Copy link

On a fresh 18.02.0-rc13, on a fresh space, I turned on "Simple scan" import strategy. Directly on the server, I copied a folder containing 50000 file of size 1MB in the space folder.

Import started as expected, and successfully finished.
But when trying to count files with command:
ls 50000files_1MB/ | wc -l
On server I obtain 50000
On dockerized oneclient (rc13) on my laptop I obtain 49847

I tried to restart update strategy in order to "rescan" the folder but without success.

In the same way, when I do the command:
du -sh 50000files_1MB/
On server I obtain 49GB
On dockerized oneclient (rc13) on my laptop I obtain 0 (very long response time)
On provider admin web GUI I can see 48.8GB

However, when I do the command:
ls 50000files_1MB/ | tail
On both server and oneclient I can see:

1MB_0049992.txt
1MB_0049993.txt
1MB_0049994.txt
1MB_0049995.txt
1MB_0049996.txt
1MB_0049997.txt
1MB_0049998.txt
1MB_0049999.txt
1MB_0050000.txt

So it seems that import process is complete

@groundnuty
Copy link
Member

Thank you for the detailed response we will try to reproduce this and come back to you

@groundnuty
Copy link
Member

I made a similar test on 18.02.0-rc13. And all the files were scanned, inserted and oneclient does report a correct number of files. Atm. I have no way to reproduce that. Is it possible to access your environment?

@bertrandrigaud
Copy link
Author

Sure I'll send you an invitation by mp

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

3 participants