cheng.li01
25fbff5d52
fix bug: two same volumeId in different collections
1, there will be two leader when master server startup in a few seconds
2, raft server will get a leader even there is only one master, so there is no need to do hard code to set the server to be leader
4 years ago
Evgenii Kozlov
0e0db70f55
Set volumes ReadOnly if low free disk space
5 years ago
James Hartig
eae3f27c80
Added treat_replication_as_minimums master toml option
5 years ago
Chris Lu
d1ab16b6e3
treat it as a single node cluster if empty raft server name
possible fix for https://github.com/chrislusf/seaweedfs/issues/1118
5 years ago
Chris Lu
09ca936c78
shell: add ec.decode command
5 years ago
Lei Liu
f2f90436ef
fix leader master /dir/lookup api
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
5 years ago
Lei Liu
c2884cace2
misc updated
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
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
862c2cb8e6
go fmt
6 years ago
Chris Lu
79762385bd
master: ensure only one exclusive vacuum process
fix https://github.com/chrislusf/seaweedfs/issues/1011
6 years ago
Chris Lu
d344e0a035
fix ec related bugs
6 years ago
Chris Lu
1d111d6ce8
collection list normal and ec volumes
6 years ago
Chris Lu
e941d0c2f4
list ec collections also
6 years ago
Chris Lu
8838176d82
register ec shards to topology
6 years ago
Chris Lu
e913ee380a
add comments
6 years ago
Chris Lu
132921ad41
adjust log or error
6 years ago
Chris Lu
316bd27f75
add remove volumes with version info
6 years ago
Chris Lu
6fc1f53018
shell: add command volume.move
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
657dd2e6c9
add shell command to list all collections
6 years ago
chenwanli
0bc3cdd26a
Fix https://github.com/chrislusf/seaweedfs/issues/825
6 years ago
Chris Lu
ad257ae179
simplify isLeader() logic
6 years ago
Chris Lu
7103c1ab7e
go fmt
6 years ago
Chris Lu
7a493bbefa
better way to detect a master isLeader
6 years ago
Chris Lu
a12c7b86b0
broadcast messages of new and deleted volumes
7 years ago
Chris Lu
f7afa80250
also remove volumeLayout if collection is empty
7 years ago
Chris Lu
0d83c1b91e
refactoring
7 years ago
Xinran Xu
4a0939a4e4
Fix panic error when target collection is not exist.
Fix: interface conversion: interface {} is nil, not *topology.Collection.
8 years ago
Chris Lu
41f686ab9d
remove weeds.conf
8 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 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
Chris Lu
6df18a9181
rwlock concurrent read map
9 years ago
chrislusf
49b1ba5bbf
break away from code.google.com
10 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
chrislusf
b07d81fb08
follow golint suggestions
10 years ago
chrislusf
f511b507a5
Add read only public port on volume server
Add read only public port on volume server
10 years ago
Chris Lu
b2ad9a1110
Fix compilation error.
10 years ago
Chris Lu
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
10 years ago
Lei Xue
029e3a3822
fix some typos
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
chrislusf
52180f386b
Add read-write lock to guard topology changes on new collections and ttls.
10 years ago
Chris Lu
179d36ba0e
formatting code by: goimports -w=true .
10 years ago
Chris Lu
f527fc1d5e
adjust visibility
10 years ago
Chris Lu
30bcda7136
fix typo
10 years ago
bmcquee
bd664def45
Revert "fix func name HasWriableVolume"
This reverts commit bff7b71389
.
10 years ago
bmcquee
bff7b71389
fix func name HasWriableVolume
10 years ago
wyy
4126280d55
use github.com/chrislusf instead of github.com/aszxqw
10 years ago