diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-08-15 00:30:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-15 00:30:19 -0700 |
| commit | e88392b50f9a8f7626e832d6957318bca03b5f48 (patch) | |
| tree | 54825a2dcd33da5aa6972369c704bbe425e9b553 /weed/filer/postgres2/postgres2_store.go | |
| parent | 7457c746f0cc06ed19e97fa24207a252fcf76235 (diff) | |
| download | seaweedfs-e88392b50f9a8f7626e832d6957318bca03b5f48.tar.xz seaweedfs-e88392b50f9a8f7626e832d6957318bca03b5f48.zip | |
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"
Diffstat (limited to 'weed/filer/postgres2/postgres2_store.go')
0 files changed, 0 insertions, 0 deletions
