chrislu
6792db21dc
ErrInvalidPart when completed parts has extra parts
fix https://github.com/seaweedfs/seaweedfs/discussions/4746
1 year ago
Henco Appel
89542db2d0
Fix S3 API multipart upload on Windows ( #4666 )
The file paths were being having '/' changed to '\' by filepath.Dir()
resulting in a file being created with '\' separators, but when trying
to read the files, the same wasn't happening.
Co-authored-by: Hendrik Appel <happel@europe.altair.com>
1 year ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
2 years ago
famosss
df0662038c
feat:add a uuid after uploadid ( #3963 )
2 years ago
chrislu
8b9957d461
add back "/" prefix if it is missing in object
fix https://github.com/seaweedfs/seaweedfs/issues/3737
2 years ago
chrislu
ea2637734a
refactor filer proto chunk variable from mtime to modified_ts_ns
2 years ago
ImFantuan
b64411bda8
fix 0 size ( #3683 )
2 years ago
famosss
bb880d6253
IsTruncated returned by the ListMultipartUploads method is set to false by default ( #3682 )
* simplify a bit
* fix: IsTruncated returned by the ListMultipartUploads method is set to false by default
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
f17cd0d5cd
return false if not found
fix https://github.com/chrislusf/seaweedfs/issues/3011
3 years ago
Konstantin Lebedev
306cf70c4a
avoid empty listMultipartUploads response
3 years ago
justin
3551ca2fcf
enhancement: replace sort.Slice with slices.SortFunc to reduce reflection
3 years ago
guol-fnst
180aa88a92
check uploadid using object name hash string
3 years ago
Konstantin Lebedev
993283bb1d
revert sort.Search
3 years ago
Konstantin Lebedev
5b90a39954
fix s3 tests:
multipart_upload_incorrect_etag
multipart_resend_first_finishes_last
3 years ago
chrislu
e48764be75
s3: multipart upload verifies uploaded parts
3 years ago
chrislu
61811dc2f1
comments
3 years ago
chrislu
9014d00fd0
Revert "s3: listObjectParts return ErrNoSuchUpload if does not exist"
This reverts commit 6cf2e7d493
.
3 years ago
chrislu
6cf2e7d493
s3: listObjectParts return ErrNoSuchUpload if does not exist
ubuntu@prod-master-1:~$ aws --endpoint http://10.244.15.66:8333 s3api abort-multipart-upload --bucket prod-cache --key multipart-test --upload-id 5347f936-6adc-43de-8e5c-1fd137c3b2bc
ubuntu@prod-master-1:~$ aws --endpoint http://10.244.15.66:8333 s3api list-parts --bucket prod-cache --key multipart-test --upload-id 5347f936-6adc-43de-8e5c-1fd137c3b2bc
{
"Initiator": null,
"Owner": null,
"StorageClass": "STANDARD"
}
If we abort a multipart upload, it appears that records are left behind. We should get a 404 NoSuchKey error.
3 years ago
chrislu
5c3b783310
s3: copy object API needs to escape special characters
fix https://github.com/chrislusf/seaweedfs/issues/2482
3 years ago
Chris Lu
309f46e3af
S3: fix upload limit if the size is more than 8GB
3 years ago
Konstantin Lebedev
8de7915950
s3 mime detect
3 years ago
Konstantin Lebedev
458145425e
S3 MultipartUpload pass contentType to meta
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
7359193e97
go fmt
3 years ago
lyg
1a4db87e19
fix s3 metadata error with multipart upload
4 years ago
Chris Lu
c6d4c16079
S3: add metadata with multipart upload
fix https://github.com/chrislusf/seaweedfs/issues/2173
4 years ago
Chris Lu
b9c1f3e9de
s3: fixes for list multipart upload
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Chris Lu
3984c3962f
add comment
4 years ago
Chris Lu
baa6bdf4d4
s3: listMultipartUploads fix output format
4 years ago
Chris Lu
3eda8d6dfc
s3: ListParts output xml format
fix https://github.com/chrislusf/seaweedfs/issues/1461
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
83012f543a
s: avoid possible completeMultipartUpload re-tries that can overwrite the uploaded file
4 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
4 years ago
Chris Lu
a25a8d8822
s3: print out time in UTC format
fix https://github.com/chrislusf/seaweedfs/issues/1297
5 years ago
Chris Lu
d57559d3f7
chunk rememober encryption or not
5 years ago
Chris Lu
ec2eb8bc48
add If-None-Match and If-Modified-Since
fix https://github.com/chrislusf/seaweedfs/issues/1269
5 years ago
Chris Lu
c07bcd5065
refactoring
5 years ago
Chris Lu
c4bea45099
S3 API: fix DeleteMultipleObjectsHandler
fix https://github.com/chrislusf/seaweedfs/issues/1241
5 years ago
Chris Lu
97ab8a1976
remove ctx if possible
5 years ago
Chris Lu
ba73c053c3
change uuid package
fix https://github.com/chrislusf/seaweedfs/issues/1126
5 years ago
Lei Liu
2cb348a2c2
s3 api: fix listbucket common_prefixes issue
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Feng Ye
a435ba2b7f
Use master branch of github.com/satori/go.uuid
5 years ago
Feng Ye
7df5f9a70f
Move travis-ci pipeline to go mod
5 years ago
Chris Lu
862c2cb8e6
go fmt
6 years ago
Chris Lu
1e2127e261
s3: adding Location for multipart upload
fix https://github.com/chrislusf/seaweedfs/issues/1002
6 years ago
Chris Lu
62843991f2
s3: adjust object key
6 years ago