Comments (9)
Hmm, looking at the code I think you are right. I'm only listing the first 10,000 files by the look of it.
Do you have 17,000 files by any chance?
I'm currently rewriting the S3 code to use a different library, and I'll try to fix this as part of that re-write.
from rclone.
I don't think I had that many, but I'm not sure. Thanks!
On Jan 30, 2015 4:22 AM, "Nick Craig-Wood" [email protected] wrote:
Hmm, looking at the code I think you are right. I'm only listing the first
10,000 files by the look of it.Do you have 17,000 files by any chance?
I'm currently rewriting the S3 code to use a different library, and I'll
try to fix this as part of that re-write.—
Reply to this email directly or view it on GitHub
#22 (comment).
from rclone.
I fixed this with the old library. Please re-open if it doesn't work!
Thanks
Nick
from rclone.
Hi Nick - I'll give it a shot over the next few days
FYI - I noticed a bunch more LIST BUCKET requests in my s3 account than I
expected over the past few days. I'm trying to figure out if this is a
problem w/ the AWS CLI tool, or do you think it could have been caused by
the bug in the way rclone called "LIST BUCKET?"
On Thu, Feb 12, 2015 at 1:03 PM, Nick Craig-Wood [email protected]
wrote:
I fixed this with the old library. Please re-open if it doesn't work!
Thanks
Nick
—
Reply to this email directly or view it on GitHub
#22 (comment).
347.708.6549
from rclone.
Rclone now lists in chunks of 1024 whereas it used to use 10,000 so you'll definitely get more list bucket requests. Using a smaller number than 10,000 means rclone can get on with transferring stuff once the first 1024 have come back, while it is fetching the next chunk.
If this is a problem I could add a flag to control the chunk size.
from rclone.
For what it's worth, the Amazon people told me that the api only ever
supports listing 1000 keys at a time no matter what method is used.
I only bring it up because I have a weirdly high amount of list requests
now so it could point to something.
On Feb 13, 2015 9:33 AM, "Nick Craig-Wood" [email protected] wrote:
Rclone now lists in chunks of 1024 whereas it used to use 10,000 so you'll
definitely get more list bucket requests. Using a smaller number than
10,000 means rclone can get on with transferring stuff once the first 1024
have come back, while it is fetching the next chunk.—
Reply to this email directly or view it on GitHub
#22 (comment).
from rclone.
I've just done a bit of debugging with rclone and it definitely only does 1 request per 1024 directory entries.
I can only see itemised $0.005 per 1,000 PUT, COPY, POST, or LIST requests
in my console, so could these be PUT
requests? rclone
will do PUT
requests both when uploading a file, and when updating its metadata (eg timestamp).
from rclone.
Thanks Nick - can you tell me when rclone updates metadata? Would it do so
on thousands of files?
On Fri, Feb 13, 2015 at 12:40 PM, Nick Craig-Wood [email protected]
wrote:
I've just done a bit of debugging with rclone and it definitely only does
1 request per 1024 directory entries.I can only see itemised $0.005 per 1,000 PUT, COPY, POST, or LIST requests
in my console, so could these be PUT requests? rclone will do PUT
requests both when uploading a file, and when updating its metadata (eg
timestamp).—
Reply to this email directly or view it on GitHub
#22 (comment).
347.708.6549
from rclone.
If the timestamp of the file changed - that is the only reason with s3 to update the metadata.
from rclone.
Related Issues (20)
- WebDAV: Add support for metadata using PROPFIND/PROPPATCH HOT 1
- erasure encoded backends? HOT 3
- Chunker: Not storing/preserving system metadata other than ModTime HOT 3
- Change chunker default name_format to *.rc=### HOT 3
- bisync: the tests are too noisy HOT 2
- Add Support For Noysi.com HOT 3
- Different output formatting for lsjson with --stat HOT 1
- Unmounting fails on macOS and rclone hangs HOT 4
- B2 remote doesn't set custom headers on large files HOT 1
- Documentation: rclone_genautocomplete_bash.md example command looks incorrect for SLES/openSUSE/Rocky? HOT 1
- SFTP slow with many directories HOT 3
- s3 serve: Improve documentation: instructions unclear HOT 4
- rclone serve s3: invalid error response when using wrong password HOT 9
- Filtering and Unicode normalisation
- Upgrade to Go 1.22 to avoid scoping bugs with closures in for loops? HOT 4
- Improperly set "Range" header when retrying file download from Dropbox HOT 3
- Files on Windows vfs lost when file names contain CJK punctuations HOT 6
- s3 serve: incorrect format of Last-Modified header HOT 2
- Support blake3 / b3sum as hash HOT 5
- rclone FUSE mount does not reliably unmount when operations are in flight, leaving broken mount behind HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rclone.