Konstantin Lebedev
15965f7c54
[shell] fix volume grow in shell ( #5992 )
* fix volume grow in shell
* revert add Async
* check available volume space
* create a VolumeGrowRequest and remove unnecessary fields
4 months ago
vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
6 months ago
Konstantin Lebedev
9c1e0f5811
[master] grow volumes if no writable volumes in current dataCenter ( #5434 )
* grow volumes if no writable volumes in current dataCenter
https://github.com/seaweedfs/seaweedfs/issues/3886
* fix tests with volume grow
* automatic volume grow one volume
* add ErrorChunkAssign metrics
9 months ago
Konstantin Lebedev
1cac5d983d
fix: disallow file name too long when writing a file ( #4881 )
* fix: disallow file name too long when writing a file
* bool LongerName to MaxFilenameLength
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
1 year ago
chrislu
07c2d75ac7
ensure single threaded access
1 year ago
chrislu
99f037b958
streaming assign file ids
1 year ago
zemul
e9fda774f4
[Filer] post add param:saveInside ( #4434 )
* fix:mount deadlock
* feat: filer http upload to metadata
* feat: /etc save inside
---------
Co-authored-by: zemul <zhouzemiao@ihuman.com>
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
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
08336be92e
filer server: allow upload file to specific dataNode
3 years ago
Chris Lu
e6ef7b2387
return error early
fix https://github.com/chrislusf/seaweedfs/issues/2370
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0207f5fe9b
replicated remote.cache
3 years ago
Chris Lu
e93d4935e3
add other replica locations when assigning volumes
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
5c14da0f1e
filer.copy: fail early if assign request failed
fix https://github.com/chrislusf/seaweedfs/issues/2216
3 years ago
qieqieplus
270645f8d7
fix #1996
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
dc304342b2
fs.configure: configurable volume growth
4 years ago
Chris Lu
b04375a3d1
use alternative assign request
4 years ago
Chris Lu
0ea5c087ce
go fmt
4 years ago
Chris Lu
95c0de285d
refactoring
4 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
Lei Liu
46755ea1e1
fix master maintenance logic
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
zhangsong
61fa485700
add volume number param in assign operation
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
713596e781
caching ec shard locations
6 years ago
Chris Lu
e108688990
avoid grpc 5 seconds timeout
some operations may take longer than 5 seconds.
only keep the timeout for raft operations
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
74fb237727
benchmark can work in secure mode
6 years ago
chenwanli
0a3e83a36a
Set timeout for master and volume non-streaming rpc
6 years ago
Chris Lu
86dd933596
go fmt
6 years ago
Chris Lu
5065d4ab2d
master add grpc API for fileid assigning
6 years ago
Chris Lu
8480008a9a
add s3 upload, and removing mono and multi part upload analyzer
removing mono and multi part upload analyzer, which were used just to determine the file name
7 years ago
Chris Lu
6c4fee85e3
add primary request and backup request when requesting volumes for a data center
7 years ago
Chris Lu
b303a02461
cp file can work
1. consolidate to filer_pb.FileChunk
2. dir add file, mkdir
3. file flush, write
updates having issue
7 years ago
霍晓栋
1f63094542
refactor Volume Assign function
9 years ago
霍晓栋
79b0a58132
add options params for the Assign func
9 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
3ece066700
change count to uint64 to fix #109
fix https://github.com/chrislusf/weed-fs/issues/109
10 years ago