diff --git a/weed/s3api/bucket_paths.go b/weed/s3api/bucket_paths.go index 79f8b92e5..58c25d196 100644 --- a/weed/s3api/bucket_paths.go +++ b/weed/s3api/bucket_paths.go @@ -95,9 +95,9 @@ func (s3a *S3ApiServer) readTableLocationMappingFromDirectory(bucket string) (st conflict := false err := s3a.WithFilerClient(false, func(client filer_pb.SeaweedFilerClient) error { - stream, err := client.ListEntries(context.Background(), &filer_pb.ListEntriesRequest{ +stream, err := client.ListEntries(context.Background(), &filer_pb.ListEntriesRequest{ Directory: mappingDir, - Limit: 1024, + Limit: 4294967295, // math.MaxUint32 }) if err != nil { return err