Giter Site home page Giter Site logo

Comments (9)

ncw avatar ncw commented on May 13, 2024

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.

ChrisSLT avatar ChrisSLT commented on May 13, 2024

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.

ncw avatar ncw commented on May 13, 2024

I fixed this with the old library. Please re-open if it doesn't work!

Thanks

Nick

from rclone.

ChrisSLT avatar ChrisSLT commented on May 13, 2024

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.

ncw avatar ncw commented on May 13, 2024

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.

ChrisSLT avatar ChrisSLT commented on May 13, 2024

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.

ncw avatar ncw commented on May 13, 2024

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.

ChrisSLT avatar ChrisSLT commented on May 13, 2024

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.

ncw avatar ncw commented on May 13, 2024

If the timestamp of the file changed - that is the only reason with s3 to update the metadata.

from rclone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.