chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
banjiaojuhao
083bf3a137
filer server: add "datacenter, rack and datanode" for path specific configuration
3 years ago
banjiaojuhao
08336be92e
filer server: allow upload file to specific dataNode
3 years ago
chrislu
4b8dcff448
reverting default admin scripts
fix https://github.com/chrislusf/seaweedfs/issues/2525
this new default value was introduced in 2.80
this affects production environments, e.g., EC is not desired, volume balancing is not preferred, etc.
3 years ago
chrislu
a152f17937
mount: improve read performance on random reads
3 years ago
chrislu
7210558c7b
s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
3 years ago
chrislu
7bf14452f7
s3: handle Response-Content-Disposition
3 years ago
chrislu
a2d3f89c7b
add lock messages
3 years ago
chrislu
2d6fcdf83a
add delay if need to resume from disk
3 years ago
liubaojiang
c7abc34dbb
rename operation returns the correct old parent path
3 years ago
chrislu
40ee9b4d7b
sleep between the gap of each execution
related to https://github.com/chrislusf/seaweedfs/issues/2476
3 years ago
chrislu
b70cb3e0b2
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
3 years ago
Chris Lu
3d7390302d
add s3.clean.uploads -timeAgo=24h
3 years ago
Chris Lu
88ff8fc27b
ensure uploaded chunks are deleted on error
3 years ago
Chris Lu
bea26549f2
avoid empty extended attribute value
3 years ago
Chris Lu
a0ef6e3611
prevent nil response
fix https://github.com/chrislusf/seaweedfs/issues/2452
3 years ago
Chris Lu
4729a57cc0
use constants
3 years ago
Chris Lu
d9dd72ea56
rename pacakge
3 years ago
Chris Lu
c4e22b5a9a
filer: deprecate "-peers" option
3 years ago
Chris Lu
e0fc2898e9
auto updated filer peer list
3 years ago
Chris Lu
330d1fde7f
send peers info to filers
3 years ago
Chris Lu
84bb8e7365
send peers info to filers
3 years ago
Chris Lu
4b9c42996a
refactor grpc API
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
77f90ae288
add leader election in master
3 years ago
Chris Lu
3c245c69d3
handle possible race condition
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
0c8dea9de8
go fmt
3 years ago
Chris Lu
5160eb08f7
shell: optionally read filer address from master
3 years ago
Chris Lu
24858507cc
rename API to avoid confusion
3 years ago
Chris Lu
c857cc7286
cloud tier: remove tagging since not all s3 vendors support this
3 years ago
Chris Lu
5435027ff0
volume copy: stream out copying progress and avoid grpc request timeout
fix https://github.com/chrislusf/seaweedfs/issues/2386
3 years ago
Chris Lu
3be3c17f59
volume vacuum: avoid timeout with streaming progress report
fix https://github.com/chrislusf/seaweedfs/issues/2396
3 years ago
Konstantin Lebedev
c78220a7f2
fix object tagging https://github.com/chrislusf/seaweedfs/issues/2389
3 years ago
Chris Lu
29fa1b9fdc
add logs
3 years ago
Chris Lu
cca62fdb30
mount: streaming renaming folders
3 years ago
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