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

Using B2 with Crypt creates unnecessary requests #818

Closed
tmazur opened this issue Oct 24, 2016 · 4 comments
Closed

Using B2 with Crypt creates unnecessary requests #818

tmazur opened this issue Oct 24, 2016 · 4 comments

Comments

@tmazur
Copy link
Contributor

tmazur commented Oct 24, 2016

When copying a directory to B2, with no changes in the directory - 4 requests are sent.

    b2_authorize_account
    b2_create_bucket
    b2_list_buckets
    b2_list_file_names

However when we setup an encrypted B2 we get 7 requests for the same scenario.

    b2_authorize_account
    b2_list_buckets
    b2_list_file_names
    b2_authorize_account
    b2_create_bucket
    b2_list_buckets
    b2_list_file_names

Version: rclone v1.33-72-ga4a44a4β
OS: Windows 10 x64
Storage system: B2

Quote from rclone forum:

rclone had to work out whether object i a file or a directory. It is doing this in an inefficient way at the moment by recreating the Fs. If you make an issue I'll look at fixing it.

@ncw
Copy link
Member

ncw commented Oct 27, 2016

This might need a new concept in the remote to fix properly - a Chroot call...

@ivandeex
Copy link
Member

Closing after 4+ years of inactivity

@gymnae
Copy link

gymnae commented Sep 28, 2023

Could this issue be reopened?

@ncw
Copy link
Member

ncw commented Oct 3, 2023

I made a small improvement in this in 4ef30db which you'll find in the latest beta

The b2_list_buckets should be much quicker!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants