Chris Lu
|
8e48a235e2
|
s3: avoid looping if the directory is empty
fix https://github.com/chrislusf/seaweedfs/issues/1701
|
4 years ago |
Chris Lu
|
1620de08ae
|
added more logs
|
4 years ago |
Chris Lu
|
a09cd28986
|
add debug messages
|
4 years ago |
Chris Lu
|
3be3635799
|
just log error when checking empty dir failed
|
4 years ago |
Chris Lu
|
0ca9d89589
|
s3: break loop if error
fix #1701
|
4 years ago |
Chris Lu
|
132f275d04
|
s3: log errors instead of stopping when checking isDirectoryAllEmpty has error
|
4 years ago |
Chris Lu
|
db62090f88
|
s3: break loop if error
fix https://github.com/chrislusf/seaweedfs/issues/1701
|
4 years ago |
Chris Lu
|
4f31c1bb94
|
go fmt
|
4 years ago |
Chris Lu
|
1bf22c0b5b
|
go fmt
|
4 years ago |
Chris Lu
|
5c465293e9
|
correctly determine whether a folder is empty
avoid edge cases that deleting the folder if previous 32 directories are all empty
early terminate if one file is found
|
4 years ago |
Chris Lu
|
f930c713fc
|
more efficient recursion
|
4 years ago |
Chris Lu
|
03637d6f57
|
s3: move "delete-directory-if-empty" to read time
move "delete-directory-if-empty" to read time instead of entry deletion time
the listing speed for a s3 bucket folder will slow down if it has many sub folders
related to 0d345ac97d
fix https://github.com/chrislusf/seaweedfs/issues/1647
fix https://github.com/chrislusf/seaweedfs/issues/1670
|
4 years ago |
Chris Lu
|
26731694f8
|
s3: use static configuration by default
So that users can still use the previous configuration files.
If leave it empty, s3 will try to use the version from filer
|
4 years ago |
Chris Lu
|
765b3ef1be
|
save /etc/iam/identity.json inside filer store
|
4 years ago |
Chris Lu
|
02a160c3fd
|
s3: recursively iterate all sub folders
fix https://github.com/chrislusf/seaweedfs/issues/1656
|
4 years ago |
Chris Lu
|
fce8803087
|
break import cycle
|
4 years ago |
Chris Lu
|
eed87791b7
|
s3: subscribe to s3.configure changes
|
4 years ago |
Chris Lu
|
01e2da5782
|
refactoring
|
4 years ago |
Konstantin Lebedev
|
a26f1b2040
|
new pkg s3iam
|
4 years ago |
Konstantin Lebedev
|
6206737df2
|
s3 configure
|
4 years ago |
Chris Lu
|
781585b195
|
remove unnecessary checking
|
4 years ago |
Chris Lu
|
7c9e592c2d
|
s3: avoid nil resp when having error
fix https://github.com/chrislusf/seaweedfs/issues/1622
|
4 years ago |
Chris Lu
|
0ea5c087ce
|
go fmt
|
4 years ago |
ruitao.liu
|
a9990a1dc6
|
adjust check bucket if exist or has access.
|
4 years ago |
Chris Lu
|
e6333da65a
|
enable admin to access all buckets
|
4 years ago |
Chris Lu
|
7094492428
|
fix ErrNotFound
|
4 years ago |
Chris Lu
|
c6a0704019
|
rename function
|
4 years ago |
ruitao.liu
|
c4f0fd6e1b
|
skip if entry.Extended map is nil.
|
4 years ago |
ruitao.liu
|
ab966410d2
|
return NoSuchBucket instead of InternalError delete non-existed bucket.
|
4 years ago |
ruitao.liu
|
e06676f007
|
check permission for bucket delete/head.
|
4 years ago |
ruitao.liu
|
d7cc0498e0
|
check if bucket already exists.
|
4 years ago |
ruitao.liu
|
dbba8cb57e
|
fix if nil map in entry.
|
4 years ago |
Chris Lu
|
86cdb2a3e5
|
adjust logs
|
4 years ago |
ruitao.liu
|
5b636b3242
|
Add bucket owner attr.
|
4 years ago |
Konstantin Lebedev
|
6cd6ff6962
|
avoid blank response for 404
|
4 years ago |
Konstantin Lebedev
|
e1190b3224
|
load S3 config from filer
https://github.com/chrislusf/seaweedfs/issues/1500
|
4 years ago |
ruitao.liu
|
22a9ea0512
|
adjust s3 header file.
|
4 years ago |
ruitao.liu
|
b917be7955
|
S3 bucket list, response with uploaded storageclass.
|
4 years ago |
Chris Lu
|
6da87720eb
|
shorter tag prefix
|
4 years ago |
ruitao.liu
|
8766ca1b95
|
rename s3 tag prefix.
|
4 years ago |
ruitao.liu
|
19026ae55d
|
return x-amz-tag-count header when GET object.
|
4 years ago |
Chris Lu
|
da36abf033
|
go fmt
|
4 years ago |
Konstantin Lebedev
|
05b5f12f2e
|
multiplate DomainNames through comma
|
4 years ago |
Chris Lu
|
b3aa2fab9a
|
s3: report error to s3 when updating an object but it is already a directory
fix https://github.com/chrislusf/seaweedfs/issues/1545
|
4 years ago |
Chris Lu
|
ace0ea3d28
|
s3: avoid duplicated bucket
|
4 years ago |
Chris Lu
|
723ae11db4
|
refactoring in order to adjust volume server url later
|
4 years ago |
Chris Lu
|
9e7a2772b1
|
s3: only admin can list all buckets
|
4 years ago |
Chris Lu
|
62d3d3aea0
|
go fmt
|
4 years ago |
Chris Lu
|
e91b9c85a2
|
s3: Added support for "List" action in weed s3 -config=... in the config file.
fix https://github.com/chrislusf/seaweedfs/issues/1511
|
4 years ago |
Chris Lu
|
f781cce500
|
s3: support object tagging
* GetObjectTagging
* PutObjectTagging
* DeleteObjectTagging
|
4 years ago |