Chris Lu
|
4b9c42996a
|
refactor grpc API
|
2021-11-05 18:11:40 -07:00 |
|
Chris Lu
|
5ea86ef1da
|
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa .
|
2021-11-05 17:52:15 -07:00 |
|
Chris Lu
|
af71ae11aa
|
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
|
2021-11-03 01:09:48 -07:00 |
|
Chris Lu
|
e66865a8c5
|
adjust master client log level
|
2021-11-02 23:45:28 -07:00 |
|
Chris Lu
|
5160eb08f7
|
shell: optionally read filer address from master
|
2021-11-02 23:38:45 -07:00 |
|
Chris Lu
|
ad5099e570
|
refactor
|
2021-09-19 12:02:23 -07:00 |
|
Chris Lu
|
e5fc35ed0c
|
change server address from string to a type
|
2021-09-12 22:47:52 -07:00 |
|
Chris Lu
|
574485ec69
|
better IP v6 support
|
2021-09-07 19:29:42 -07:00 |
|
Chris Lu
|
44b50b2fdf
|
another fix related to 64 bit alignment
fix https://github.com/chrislusf/seaweedfs/issues/2177
|
2021-07-05 16:30:43 -07:00 |
|
Chris Lu
|
e8b7d4ad64
|
simplify a bit
|
2021-05-21 02:10:44 -07:00 |
|
Chris Lu
|
0b00edfc3b
|
waits in case master lost connection
|
2021-05-21 02:09:22 -07:00 |
|
Chris Lu
|
f0ad172e80
|
shell: show which server holds the lock
fix https://github.com/chrislusf/seaweedfs/issues/1983
|
2021-04-22 23:56:35 -07:00 |
|
Chris Lu
|
35d939a1d2
|
go fmt
|
2021-03-14 13:21:02 -07:00 |
|
Chris Lu
|
1bd880dcdb
|
adds tcp writes benchmark
|
2021-03-06 14:26:27 -08:00 |
|
Chris Lu
|
1444e9d275
|
migrated multi host connection pool from godropbox package
removing unneeded dependencies, which involved etcd versions.
|
2021-03-06 14:26:27 -08:00 |
|
Chris Lu
|
2b76854641
|
add "weed filer.cat" to read files directly from volume servers
|
2021-01-06 04:22:00 -08:00 |
|
Konstantin Lebedev
|
1eec5c8d5d
|
gen pb
|
2020-11-12 04:10:06 +05:00 |
|
Konstantin Lebedev
|
fc7baef5bb
|
fiil serverUrls sorted by data center
|
2020-11-12 02:13:33 +05:00 |
|
Konstantin Lebedev
|
dc26012a3b
|
initial
|
2020-11-11 15:03:47 +05:00 |
|
Chris Lu
|
8750cac090
|
move to util.RetryWaitTime
|
2020-11-01 02:36:43 -08:00 |
|
Chris Lu
|
ef908e166b
|
break import cycle
|
2020-11-01 02:28:11 -08:00 |
|
Chris Lu
|
7192a378cc
|
add retry to master clients also
|
2020-11-01 01:40:16 -07:00 |
|
Chris Lu
|
ee1fc6558a
|
refactor
|
2020-10-16 11:02:44 -07:00 |
|
Chris Lu
|
a8624c2e4f
|
read from alternative replica
related to https://github.com/chrislusf/seaweedfs/issues/1512
|
2020-10-07 22:49:04 -07:00 |
|
Chris Lu
|
da4edf3651
|
master: check peers for existing leader before starting a leader election
fix https://github.com/chrislusf/seaweedfs/issues/1509
|
2020-10-07 01:25:39 -07:00 |
|
Chris Lu
|
eaf9fdde99
|
avoid sharing context over separate goroutine
|
2020-09-10 19:51:03 -07:00 |
|
Chris Lu
|
daf0a449f7
|
properly cancel context for streaming grpc
|
2020-09-09 12:07:15 -07:00 |
|
Chris Lu
|
de5ca9b258
|
remove fixJpgOrientation
|
2020-06-20 12:50:40 -07:00 |
|
Chris Lu
|
45a9d852d3
|
go fmt
|
2020-06-05 15:27:10 -07:00 |
|
Chris Lu
|
5d3ec22975
|
refactoring
|
2020-05-26 00:03:31 -07:00 |
|
Chris Lu
|
aebe39a803
|
avoid repeated grpc connection creation
fix https://github.com/chrislusf/seaweedfs/issues/1277
|
2020-04-22 18:26:24 -07:00 |
|
Chris Lu
|
076c8bd3bc
|
filer master start up with default ip address instead of just localhost
|
2020-04-18 15:17:27 -07:00 |
|
Chris Lu
|
b062393f3f
|
refactoring
|
2020-04-12 17:51:31 -07:00 |
|
Chris Lu
|
f90c43635d
|
refactoring
|
2020-03-04 00:39:47 -08:00 |
|
Chris Lu
|
6a8484b4ae
|
master able to list all master clients by type
|
2020-03-01 22:13:47 -08:00 |
|
Chris Lu
|
892e726eb9
|
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
|
2020-02-25 21:50:12 -08:00 |
|
Chris Lu
|
72a64a5cf8
|
use the same context object in order to retry
|
2020-01-26 14:42:11 -08:00 |
|
Chris Lu
|
c602073395
|
adjust logs
|
2019-12-11 21:40:33 -08:00 |
|
Chris Lu
|
7a707617e5
|
follow the redirected master
fix https://github.com/chrislusf/seaweedfs/issues/1070
|
2019-10-09 21:00:40 -07:00 |
|
Chris Lu
|
ad3efbb197
|
tweaking data types
|
2019-09-14 01:21:51 -07:00 |
|
divinerapier
|
bb31462b52
|
fix: thread unsafe
Signed-off-by: divinerapier <poriter.coco@gmail.com>
|
2019-09-13 20:06:02 +08:00 |
|
xushuxun
|
46ae35cd7e
|
wdclient: clear client cache when failed to connect to master leader
|
2019-08-15 15:13:16 +08:00 |
|
Chris Lu
|
19360ab10a
|
master: redirect clients to the new leader
|
2019-07-31 01:54:42 -07:00 |
|
Chris Lu
|
8afd8d35b3
|
master: followers can also lookup and redirect
improve scalability
|
2019-07-28 03:58:13 -07:00 |
|
Chris Lu
|
92c7f7e069
|
fix compilation error
|
2019-06-28 11:19:08 -07:00 |
|
Chris Lu
|
9f3f2f7c79
|
protect locations slice
fix https://github.com/chrislusf/seaweedfs/issues/995
|
2019-06-28 09:47:29 -07:00 |
|
Chris Lu
|
5c411f3e5f
|
minor
|
2019-04-21 13:33:32 -07:00 |
|
Chris Lu
|
132921ad41
|
adjust log or error
|
2019-04-21 10:14:17 -07:00 |
|
Chris Lu
|
6fc1f53018
|
shell: add command volume.move
|
2019-04-20 11:35:23 -07:00 |
|
Chris Lu
|
79c2cca9c1
|
better error message
|
2019-04-16 01:15:30 -07:00 |
|
Chris Lu
|
5808caa2f5
|
use cached grpc client
|
2019-04-05 20:26:52 -07:00 |
|
Chris Lu
|
88ab932f7d
|
refactoring function parameter
|
2019-03-19 23:01:23 -07:00 |
|
Chris Lu
|
5ae4b963a4
|
avoid using global rand
|
2019-03-19 22:20:14 -07:00 |
|
Chris Lu
|
da871896c3
|
weed filer: set grpc port to port + 10000
|
2019-03-19 05:47:41 -07:00 |
|
Chris Lu
|
eb4a54d9fe
|
refactoring
|
2019-03-19 05:19:37 -07:00 |
|
Chris Lu
|
aca653c08b
|
weed shell: list volumes
|
2019-03-17 20:27:08 -07:00 |
|
Chris Lu
|
657dd2e6c9
|
add shell command to list all collections
|
2019-03-16 13:43:16 -07:00 |
|
Chris Lu
|
42cb05c088
|
add context.Context
|
2019-03-15 17:23:02 -07:00 |
|
Chris Lu
|
55bab1b456
|
add context.Context
|
2019-03-15 17:20:24 -07:00 |
|
Chris Lu
|
77b9af531d
|
adding grpc mutual tls
|
2019-02-18 12:11:52 -08:00 |
|
chenwanli
|
f47f8be912
|
Fix block-waiting for leader when there are no volumes
|
2019-01-22 15:58:37 +08:00 |
|
Chris Lu
|
67e2ea72be
|
master add separate grpc port
due to https://github.com/soheilhy/cmux/issues/64
fix https://github.com/chrislusf/seaweedfs/issues/820
fix https://github.com/chrislusf/seaweedfs/issues/840
fix https://github.com/chrislusf/seaweedfs/issues/841
|
2019-01-18 14:14:47 -08:00 |
|
Chris Lu
|
b282e34dc2
|
async file chunk deletion
|
2018-11-20 20:56:28 -08:00 |
|
Chris Lu
|
91ac2e0dd9
|
go fmt
|
2018-10-14 00:30:20 -07:00 |
|
Chris Lu
|
ff66269b62
|
use grpc to replace http APIs for batch volume id lookup and batch delete
1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete
|
2018-10-14 00:12:28 -07:00 |
|
Chris Lu
|
76cbe8bf33
|
instant notification of new volumes added or deleted
|
2018-08-24 01:26:56 -07:00 |
|
Chris Lu
|
44d8e35988
|
add listener for volumd id location for benchmark tool
|
2018-07-31 19:12:36 -07:00 |
|
Chris Lu
|
d3205a0070
|
go fmt
|
2018-07-28 21:02:56 -07:00 |
|
Chris Lu
|
7214a8e265
|
fix init error
|
2018-07-28 18:40:31 -07:00 |
|
Chris Lu
|
cfbfc7cb67
|
fix compilation error
|
2018-07-28 18:34:15 -07:00 |
|
Chris Lu
|
4e0522a80c
|
adjust API
|
2018-07-28 18:17:31 -07:00 |
|
Chris Lu
|
888eb2abb5
|
filer read write all via locations from MasterClient
|
2018-07-28 14:51:36 -07:00 |
|
Chris Lu
|
1d779389cb
|
MasterClient replicates all vid locations
|
2018-07-28 14:22:46 -07:00 |
|
Chris Lu
|
01bcc89803
|
refactor into MasterClient
|
2018-07-28 02:10:32 -07:00 |
|
Chris Lu
|
0d98949199
|
tmp commit
|
2018-07-27 01:54:45 -07:00 |
|