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

Calling ListBucket result error, only return partial result #5181

Closed
EugeneYCSong1212 opened this issue Feb 27, 2024 · 1 comment
Closed
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@EugeneYCSong1212
Copy link

Describe the bug

I have own accessKey, secretKey, region and endpoint and I have built my client as below,
image
then I have supported my users relying on checking whether the bucket and the object exists, the implement is as below
image
However, which is strange is that the count of my ListBuckets returns 1000 when I am sure I have buckers more than it. Therefore, I have implemented a ExistBucket function relying on ListBuckets and I get the wrong result. The implementation is as below,
image
However, I can get objects under this bucket. Is there any filter of list buckets I have ignored and how could I make sure see the right result. I 'll appreciate it if you could help~

Expected Behavior

I hope it could list all the buckets when I am calling ListBuckets(nil)

Current Behavior

it returns 1000 of it

Reproduction Steps

a.txt
I can get objects in bucket 'aip-svc-123-modelrepo' but I can not get such bucket in 'ListBucket'

Possible Solution

No response

Additional Information/Context

No response

SDK version used

v1.48.3 & the latest

Environment details (Version of Go (go version)? OS name and version, etc.)

go1.20

@EugeneYCSong1212 EugeneYCSong1212 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 27, 2024
Copy link

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant