mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #783] [CLOSED] Issues with listing collections that contains over 10 000 objects #1640
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1640
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/783
Author: @pawelmarkowski
Created: 7/2/2018
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
fc37162Increase Cache Size3e2b724Increase retries to 5 triesa4b1b1dIncrease max-keys to 15 thousands because listing of bigger collections is too slow (that should be configurable as run parameter)📊 Changes
3 files changed (+3 additions, -3 deletions)
View changed files
📝
src/cache.cpp(+1 -1)📝
src/curl.cpp(+1 -1)📝
src/s3fs.cpp(+1 -1)📄 Description
Relevant Issue (if applicable)
We were not able to perform ls in a bucket that contains over 10 000 objects. This objects starts with specified key: for instance ls /test/2018/06/02/ contains over 12 000 objects that simulates folders of our products.
Details
We increase cache size because we faced a deadlock issue. We change max-keys option, which should be in our opinion configurable as run parameter (if user does not use max-keys, then it should be 1 000 that is the default value for S3.). Our quick fix increases max-keys value from 1000 to 15 000, and retries from 3 to 5 but that are the minor changes that should increase platform performance and stability.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.