Chris Lu
a29abd8600
add a {X-,}Idempotency-Key header for http POST
fix https://github.com/chrislusf/seaweedfs/issues/1592
according to https://github.com/golang/go/issues/19943
4 years ago
Chris Lu
8708e7a64d
print out data size
4 years ago
Chris Lu
0ecff9521d
avoid []byte reuse
4 years ago
Chris Lu
031aa70da6
Revert "revert bytebufferpool, seems problematic"
This reverts commit e0fcab47c0
.
4 years ago
Chris Lu
e0fcab47c0
revert bytebufferpool, seems problematic
4 years ago
Chris Lu
c057dd1f64
add back upload retries
4 years ago
Chris Lu
19772d70d7
print for debugging
4 years ago
Chris Lu
ef9c32ea0d
adjust compression threshold
4 years ago
Chris Lu
29c9fa2ef2
byte buffer for uploading
4 years ago
Chris Lu
2579edbc60
fix bug found by tests
4 years ago
Chris Lu
e0c8507d93
memory pool to reduce memory allocation
4 years ago
Chris Lu
c31b254248
mount: shortcut when there is only one chunk
4 years ago
Chris Lu
f64252023e
Revert "a better byte buffer pool"
This reverts commit 59c6422777
.
4 years ago
Chris Lu
59c6422777
a better byte buffer pool
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
50f7e2e89f
add log messages
4 years ago
Chris Lu
5f55a87101
close http response
4 years ago
Chris Lu
0b301b0b47
consume all response body in order to release requests
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
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
bbc8ae110f
report errors
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
871efa4fc1
refactoring
some previous chunk etag was using md5, which should be wrong.
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
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
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
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
e5506152c0
refactoring
6 years ago