Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
droplet: implement access to volume by iterating
Before dpl_opendir has been used to access all chunks of a volume. Unfortenatly, it has a bug and returns only the first 1000 entries. As we know, that chunks are always named as 4 digit numbers from 0000 to 9999 we now iterate through them. We stop, if a chunk does not exist. This commit also fixes the check_remote function. Before, if droplet have already be initialized but connection to backend stops operating, check_remote still return true. This is now fixed.
- Loading branch information
1 parent
1396403
commit 2826932
Showing
2 changed files
with
169 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters