diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-17 22:59:15 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-17 22:59:31 -0800 |
| commit | 389426bbb7ad54b4967fd26c454fa5b6de1276e2 (patch) | |
| tree | 4eaa5853198762cb272c503f0c6da9b6b2201080 | |
| parent | 0fddf684172d7aba15bfc1e12333ffe7761b3278 (diff) | |
| download | seaweedfs-389426bbb7ad54b4967fd26c454fa5b6de1276e2.tar.xz seaweedfs-389426bbb7ad54b4967fd26c454fa5b6de1276e2.zip | |
s3: listing may repeat on the edge
| -rw-r--r-- | weed/s3api/s3api_objects_list_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go index 2d36c6ec9..a2407fced 100644 --- a/weed/s3api/s3api_objects_list_handlers.go +++ b/weed/s3api/s3api_objects_list_handlers.go @@ -238,7 +238,7 @@ func (s3a *S3ApiServer) doListFilerEntries(client filer_pb.SeaweedFilerClient, d return } } - if counter >= maxKeys { + if counter >= maxKeys + 1 { isTruncated = true return } |
