-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.
Description
Client
Storage
Environment
Kubernetes
Code and Dependencies
req := &controlpb.ListFoldersRequest{
Parent: fmt.Sprintf("projects/_/buckets/%s", l.bucketName),
Prefix: l.prefix,
Delimiter: "/",
PageSize: int32(limit),
}
it := l.client.ListFolders(ctx, req)
paginator := iterator.NewPager(it, defaultGCSPageSize, l.nextPageToken)
var objects []*controlpb.Folder
pageToken, err := paginator.NextPage(&objects)
if err != nil {
return err
}go.mod
module modname
go 1.25.0
require (
cloud.google.com/go/storage v1.57.1
)
Expected behavior
The ListFolders API should return the list of folders in an HNS enabled bucket
Actual behavior
The ListFolders API hangs and eventually fails with a context deadline exceeded error.
Additional context
The issue started after upgrading to v1.57.1; the same code works fine with v1.55.0. Are there any relevant changes between these versions that could explain this behavior?
We compile using the disable_grpc_modules build tag, could this have an impact?
We haven’t been able to reproduce the issue ourselves when connecting from our development workstation to an HNS-enabled bucket, but some of our customers (and yours) encounter it when running our application on Kubernetes.
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.