Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
de1ec050e8
fier/s3: save "Content-Disposition" to extended properties
related to https://github.com/chrislusf/seaweedfs/issues/2371
3 years ago
Chris Lu
34f764007f
escape file name only when necessary
3 years ago
Chris Lu
8e9273db99
s3: use "response-content-disposition" to overwrite default content-disposition
fix one part of https://github.com/chrislusf/seaweedfs/issues/2371
see https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
3 years ago
Chris Lu
bf218cd59d
removing etcd sequencer
causing go mod tidy problem. If anyone wants this, please help to resolve this first.
github.com/chrislusf/seaweedfs/weed/sequence imports
go.etcd.io/etcd/client tested by
go.etcd.io/etcd/client.test imports
github.com/coreos/etcd/integration imports
github.com/coreos/etcd/proxy/grpcproxy imports
google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.41.0), but does not contain package google.golang.org/grpc/naming
3 years ago
Chris Lu
332d49432d
reduce concurrent volume grow requests
3 years ago
Chris Lu
96119eab00
refactor
3 years ago
Chris Lu
366f522a2d
add redis3
3 years ago
Chris Lu
2e9372dcf7
volume stream read skips deleted content
3 years ago
Chris Lu
225b019fe0
stream read multiple volumes in a volume server
3 years ago
Chris Lu
1904448d4e
adjust starting offset
3 years ago
Chris Lu
aa64f2ac4c
send needle data instead of raw needle body
3 years ago
Chris Lu
c4d7ee6c5c
volume server: read all files in a volume
3 years ago
Chris Lu
603ea2db73
avoid looping forever if there are no more metadata updates
3 years ago
Chris Lu
ede7a65a50
update log
3 years ago
Chris Lu
c1255d30ad
add cache error log
3 years ago
Chris Lu
2789d10342
go fmt
3 years ago
Chris Lu
7504be58f9
Avoid xattr printed out as HTTP headers
fix https://github.com/chrislusf/seaweedfs/issues/2336
3 years ago
Chris Lu
f74b29416a
better etag matching
3 years ago
Chris Lu
e9760f261e
minor
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
7591336a22
log format
3 years ago
Chris Lu
7e600bff5f
adjust log level
3 years ago
Chris Lu
a243d7e047
EC: clean up if failed in the middle
3 years ago
Chris Lu
f7f01ac209
return if error
3 years ago
Chris Lu
59cb6146a3
refactor
3 years ago
Chris Lu
5496d68f6a
increase counter only if not early terminated
3 years ago
Chris Lu
0207f5fe9b
replicated remote.cache
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
2b1feb732c
remote.cache supports replication
3 years ago
Chris Lu
6923af7280
refactoring
3 years ago
Chris Lu
e93d4935e3
add other replica locations when assigning volumes
3 years ago
Chris Lu
7a13816e94
refactor
3 years ago
Chris Lu
006c01a519
fix format
3 years ago
Chris Lu
65af3cf4df
master: disconnect only the phantom volume server
fix https://github.com/chrislusf/seaweedfs/issues/2311
3 years ago
Chris Lu
24fda6f47f
remove QR code for mobile upload
3 years ago
Chris Lu
7ce97b59d8
go fmt
3 years ago
Chris Lu
d1a4e19a3f
volume: copy file also copies modification time
to ensure ttl can work well
3 years ago
Chris Lu
43fd11278e
support follow additional path prefixes
3 years ago
Chris Lu
05f32376eb
add cluster id in filer configuration response
3 years ago
Chris Lu
6a0bb7106b
cloud drive: parallelize remote storage downloading
3 years ago
Chris Lu
05a648bb96
refactor: separating out remote.proto
3 years ago
mauroparente
c63713774b
Fix image resize
https://github.com/chrislusf/seaweedfs/issues/2262
3 years ago
Chris Lu
570d2eccec
skip body if not allowed by http status
3 years ago
Chris Lu
e2aa3cf63b
fix go test
3 years ago
Chris Lu
0b2a92d371
skip if http.StatusNoContent
3 years ago
Chris Lu
c34747c79d
rename, fix wrong logic.
3 years ago
Chris Lu
889b143fa7
adjust modification detection logic
3 years ago
Chris Lu
f365af81c2
parallelize remote content fetching
3 years ago
Chris Lu
53e66980b2
add comments
3 years ago