-
Notifications
You must be signed in to change notification settings - Fork 234
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
The list children api doesn't return all children #740
Comments
Hi @gilbertchen, is it possible that files being added into the |
@ificator it is impossible. Chunk files were created during the backup command. The check command (which listed the This doesn't seem to affect everyone. At least for me the listing is still complete and in order. |
That's definitely strange then. I wonder if the user is doing something outside of the app when this repros. Unfortunately paging of One thing you could try is to use |
Hi I am the user of gilbertchen's software. I can confirm nothing else accessed the files or directory during the issue. I've asked what size of backup and number of chunk files gilbertchen tested where the listing is complete and in order. There are historical posts related to oneDrive that suggest oneDrive and/or Sharepoint had a 20,000 file limit. Other information suggests these limits were removed but could there be some legacy constraints in the use of @odata.nextLink and skiptoken, my folders have 35,000+ chunk files ? It works correctly for me at 2,005 chunk files. |
Aha! The number of chunk files does seem to matter. In my previous test there were about 13K files under the @ificator let me know if you need a small test program to reproduce it. @grhall there is a workaround in Duplicacy. Recently I changed the chunk directory structure to allow nested levels for cloud storages, so there won't be that many chunk files under one directory. If you can build from the latest source on the master branch and start a new backup you will be able to get around this issue. |
FYI we've tracked down a bug that was introduced in November that may explain this behavior. I'll update this thread when we believe the issue is fixed and hopefully you'll confirm! |
I believe this issue should be resolved now - is anyone still seeing unexpected paging? |
A Duplicacy user reported a bug that seemed to be caused by the list children api failing to return all files under a directory. Specifically, Duplicacy tried to list all the chunk files under
chunks
and the sequence of API calls seemed normal:However, some chunks were included in the responses more than once, while some others were never returned. Moreover, the chunk names changed significantly between pages:
All chunk names are hashes of the files so one would expect they should have been in order and there should have been a lot with names between
ba...
and7f...
.More details can be found at https://duplicacy.com/issue?id=5715683958587392.
Is this a known issue?
The text was updated successfully, but these errors were encountered: