Skip to content

Directory listing speed regression with large numbers of folders #14775

Closed

Description

@metadaddy

Describe the bug
Despite #14542, buckets with large numbers of 'folders' in the root take a long time to load in Cyberduck 8.6.0. The log shows that Cyberduck is calling b2_list_file_names for every 'folder' in the root of the bucket.

To Reproduce
Steps to reproduce the behavior:

  1. Create a bucket in B2 with tens of thousands of 'folders'.
  2. Browse around the bucket in Cyberduck 8.6.0 vs the previous 8.5.7.

Expected behavior
Listing bucket contents should be as fast as it was in prior versions

Desktop:

  • OS: macOS
  • Version 13.4

Screenshots
If applicable, add screenshots to help explain your problem.

Log Files
As a test, I created 1,000 'folders' in a bucket. Cyberduck took 42 seconds to display the bucket listing.

See https://gist.github.com/metadaddy/2447edfa8076742e6e692113705df525

Activity

  1. added
    b2Backblaze B2 Protocol Implementation
    on Jun 16, 2023
  2. changed the title [-]Backblaze B2 bucket file listing speed regression with large numbers of folders[/-] [+]Directory listing speed regression with large numbers of folders[/+] on Jun 16, 2023
  3. linked a pull request that will close this issueRevert looking up directory placeholder file #14792on Jul 6, 2023
  4. added this to the 8.6.2 milestone on Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    b2Backblaze B2 Protocol Implementation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions