1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-04 02:20:15 +02:00

fix: ensure complete gRPC stream consumption in doListFilerEntries to prevent context canceled errors. (#5441)

This commit is contained in:
Nikita Borzykh 2024-04-02 01:55:16 +03:00 committed by GitHub
parent 94008a84a4
commit df9031e19a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -374,7 +374,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d
}
if cursor.maxKeys <= 0 {
cursor.isTruncated = true
return
continue
}
entry := resp.Entry
nextMarker = entry.Name