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
askeipx
2e78a522ab
remove old raft servers if they don't answer to pings for too long ( #3398 )
* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix
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
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
d2ddf1dbdb
typo
3 years ago
Chris Lu
b624090398
go fmt
4 years ago
Daniel Nagy
0e3adde47f
Return correct exitcode when `wheed upload` fails
4 years ago
Chris Lu
cc0df36a9e
smaller file chunks are faster
4 years ago
Chris Lu
62191b08ea
disk type support custom tags
4 years ago
Chris Lu
3575d41009
go fmt
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
0bc3a1f9e8
disk type only supports hdd and ssd, not ready for random tags yet
4 years ago
Chris Lu
ef76365ec2
adjust help message
4 years ago
Chris Lu
4250a3a675
upload: add read default collection from master
fix https://github.com/chrislusf/seaweedfs/issues/1724#issuecomment-753576071
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
8baba93fce
rename parameter name to "disk"
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
f43146b237
resolve directories if containing home directory
5 years ago
Chris Lu
6566c8e114
weed upload: add usePublicUrl option
fix https://github.com/chrislusf/seaweedfs/issues/1236
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
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
ede876cfdb
periodic scripts exeuction from leader master
6 years ago
Chris Lu
4f714cef22
default weed filer.copy and weed upload chunk size to 32MB
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
4ff4a147b2
cleanup security.Secret
6 years ago
Sergey
aa5ccff6d2
fixing of typos
6 years ago
Chris Lu
49f40cd145
adjust help message
6 years ago
Chris Lu
dbee816205
fix typo
fix https://github.com/chrislusf/seaweedfs/issues/549
7 years ago
sparklxb
66e7013dfe
suport uploading files to specific dataCenter
8 years ago
lixianbin
d96d0a87cf
fix bug: upload big .gz file more than maxMB
8 years ago
Chris Lu
cdae9fc680
add "weed copy" command to copy files to filer
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
chrislusf
7ae7029154
adjust usage text to fit the display
9 years ago
chrislusf
51aac49e82
each command use its own options to avoid parameter collision
fix https://github.com/chrislusf/seaweedfs/issues/152
10 years ago
Stuart P. Bentley
86e80aa9a0
Fix a couple more weedfs -> SeaweedFS instances
Apparently I forgot to save these files before submitting #121
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
Chris Lu
f7998f8652
merge conflicts
10 years ago
Brian McQueen
d56c748fa8
switch it back to chris's repo
10 years ago
Brian McQueen
c0dfdf4392
switch to my forked repo
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
b9aee2defb
add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
10 years ago
Chris Lu
a121453188
benchmarking writing data to a specific collection
11 years ago
Chris Lu
8111f7663d
formatting
11 years ago
Chris Lu
0e5e0a3754
add option to split large files into parts and then upload
11 years ago
Chris Lu
8e1ac16d16
refactoring submit operation
12 years ago