mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 06:03:38 +08:00
fix: ensure complete gRPC stream consumption in doListFilerEntries to prevent context canceled errors. (#5441)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user