seaweedfs/weed
Chris Lu e88392b50f
Fix s3 pagination (#3436)
* Revert previous changes

* s3: use cursor to track tree traversal

fix https://github.com/seaweedfs/seaweedfs/issues/3166

* special cases for empty prefix and empty directory

* use constants

* address empty folder

* undo local changes

* fix IsTruncated

* adjust counting directories

* fix cases when prefix is a directory

* s3: handle directory object

works for

aws --endpoint-url http://127.0.0.1:8333/ s3api list-objects-v2 --bucket test --prefix "fakedir"
2022-08-15 00:30:19 -07:00
..
cluster move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
command refactor and fix strings.Split 2022-08-07 01:34:32 -07:00
filer quicker to adapt to pattern change 2022-08-07 10:14:01 -07:00
ftpd move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
glog move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
iamapi move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
images move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
mount ensure memory is aligned 2022-08-10 22:27:13 -07:00
mq filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
notification move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
operation filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
pb filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
query move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
remote_storage move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
replication filer prefer volume server in same data center (#3405) 2022-08-04 17:35:00 -07:00
s3api Fix s3 pagination (#3436) 2022-08-15 00:30:19 -07:00
security fix deprecated functions 2022-07-29 01:34:39 -07:00
sequence move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00
server webdav: fix nil 2022-08-14 23:33:30 -07:00
shell shell: fs.meta.load add quieter mode 2022-08-07 01:42:15 -07:00
static Change filer UI icon from picture to icon font. 2022-04-08 15:07:56 +08:00
stats refactor FilerRequest metrics (#3402) 2022-08-04 01:44:54 -07:00
storage Refactor for Sync method (#3426) 2022-08-10 08:21:57 -07:00
topology rand start garbageThreshold and reset metric ReplicaPlacementMismatch (#3396) 2022-08-12 13:11:09 -07:00
util ensure memory is aligned 2022-08-10 22:27:13 -07:00
wdclient avoid infinite loop WaitUntilConnected() (#3431) 2022-08-11 15:03:26 -07:00
Makefile debug 2022-08-07 00:55:49 -07:00
weed.go move to https://github.com/seaweedfs/seaweedfs 2022-07-29 00:17:28 -07:00