Chris Lu
83cad3da79
add retry file upload
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
4ecfa9879d
volume: report Content-MD5 in response header
4 years ago
Chris Lu
1b3a80dd3d
non-fatal error
4 years ago
Chris Lu
bbc8ae110f
report errors
5 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
e4ef3814e7
fix compilation
5 years ago
Chris Lu
2ff37ccdbd
testing parsing the upload
The mime type is always the value passed in.
Compress or not depends on the content detection, file name extension, and compression ratio.
If the content is already compressed, need to know the content size.
5 years ago
Chris Lu
fe60db404a
prepare for zstd
5 years ago
Chris Lu
3080c197e3
rename UnCompressData to DecompressData
5 years ago
Chris Lu
97239ce6f1
rename filechunk is_gzipped to is_compressed
5 years ago
Chris Lu
e912fd15e3
renaming
5 years ago
Chris Lu
16fe132a20
detect mime type before replicating to other volume servers
5 years ago
Chris Lu
39e72fb23c
go fmt
5 years ago
Chris Lu
871efa4fc1
refactoring
some previous chunk etag was using md5, which should be wrong.
5 years ago
zhangsong
d819865fe7
add fsync option for benchmark
5 years ago
Chris Lu
9cacaf5eca
better detect file mime type
5 years ago
Chris Lu
3f1d79512f
only detect when not sure about the types
5 years ago
Chris Lu
d2d1597850
volume: detect gzip effectiveness only when content type is empty
revert part of 2286eda575
5 years ago
Chris Lu
8a73276602
refactor a bit
5 years ago
Chris Lu
bf270d9e8c
filer: able to tail meta data changes
5 years ago
Chris Lu
eedd33dda3
refactoring
5 years ago
Chris Lu
e1911760a7
refactoring
5 years ago
Chris Lu
2286eda575
sampling whether the data can be gzipped
5 years ago
Chris Lu
a5ce359999
refactoring
5 years ago
Chris Lu
6d87a0c5f5
batch delete orphan data by file keys
5 years ago
Chris Lu
6ff9e2835e
filer: skip resizing image if width or height larger than original image
fix https://github.com/chrislusf/seaweedfs/issues/1239#issuecomment-602140779
5 years ago
Chris Lu
308688c8d0
filer: add back image resizing capability
5 years ago
Chris Lu
f251d03673
refactoring
5 years ago
Chris Lu
11372dd548
refactoring
5 years ago
Chris Lu
d848d08944
use public url also for deletions
5 years ago
Chris Lu
6566c8e114
weed upload: add usePublicUrl option
fix https://github.com/chrislusf/seaweedfs/issues/1236
5 years ago
Chris Lu
f9b3750ad1
volume: handle repeated writes response
5 years ago
Chris Lu
ee635dcc36
refactoring
5 years ago
Chris Lu
18cda6adbb
cleaner fix
5 years ago
Chris Lu
17efa361f9
fix possible nil
5 years ago
Chris Lu
3934c69757
clean up
5 years ago
Chris Lu
2e3f6ad3a9
filer: remember content is gzipped or not
5 years ago
Chris Lu
5ac6297c68
adjust parameter names
5 years ago
Chris Lu
9228ff192c
encryption works
5 years ago
Chris Lu
0375ce2c2e
filer: set mime type from volume server
5 years ago
Chris Lu
ea1169dc80
filer cipher: single chunk http POST and PUT and read
5 years ago
Chris Lu
13e215ee5c
filer: option to encrypt data on volume server
5 years ago
Chris Lu
f90c43635d
refactoring
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
6ab7368ef2
filer: dynamically create bucket under /buckets folder
5 years ago
Chris Lu
33b3bd467c
Revert "HEAD operation changes to fasthttp"
This reverts commit 58f126fd27
.
5 years ago
Chris Lu
58f126fd27
HEAD operation changes to fasthttp
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
Chris Lu
8dd260623e
protect against nil deletion results
fix https://github.com/chrislusf/seaweedfs/issues/1180
5 years ago