Browse Source
fix: ensure complete gRPC stream consumption in doListFilerEntries to prevent context canceled errors. (#5441)
pull/5459/head
Nikita Borzykh
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/s3api/s3api_objects_list_handlers.go
|
@ -374,7 +374,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d |
|
|
} |
|
|
} |
|
|
if cursor.maxKeys <= 0 { |
|
|
if cursor.maxKeys <= 0 { |
|
|
cursor.isTruncated = true |
|
|
cursor.isTruncated = true |
|
|
return |
|
|
|
|
|
|
|
|
continue |
|
|
} |
|
|
} |
|
|
entry := resp.Entry |
|
|
entry := resp.Entry |
|
|
nextMarker = entry.Name |
|
|
nextMarker = entry.Name |
|
|