yanyiwu
7bfa93a283
use sync.RWMutex when masterNode changes
10 years ago
chrislusf
e381356af9
change CLI option from publicIp to publicUrl
Now the publicUrl is free style text.
10 years ago
chrislusf
0e23ee4dce
Update volume server's master node when masters change.
10 years ago
Chris Lu
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
10 years ago
Chris Lu
5afdc469a3
Separate into admin and public mux for volume servers.
10 years ago
Chris Lu
a3e4145e8a
refactoring for later security changes
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
df78466a12
remove uploading stated from volume server.
11 years ago
Chris Lu
dcd12576c6
Add option to auto fix jpg orientation
11 years ago
Chris Lu
982aaa41b9
Add control+c or INT handling
11 years ago
Chris Lu
d344e87de0
Adjust command line options.
1. switch to use -publicIp instead of -publicUrl
2. -ip can be empty. It will listen to all available interfaces.
3. For "weed master", these options are changed:
-masterPort => -master.port
-peers => -master.peers
-mdir => -master.dir
-volumeSizeLimitMB => -master.volumeSizeLimitMB
-conf => -master.conf
-defaultReplicaPlacement => -master.defaultReplicaPlacement
-port => -volume.port
-max => -volume.max
11 years ago
Chris Lu
637469e656
log the volume server connected to which master server
11 years ago
Chris Lu
51939efeac
1. volume server now sends master server its max file key, so that
master server does not need to store the sequence on disk any more
2. fix raft server's failure to init cluster during bootstrapping
11 years ago
Chris Lu
9653a54766
added typed join result
11 years ago
Chris Lu
56a3d30e75
batch delete on volume servers
11 years ago
Chris Lu
59f6a13609
adding lots of different stats
11 years ago
Chris Lu
39b774a131
1. adding statistics reporting
2. refactor version to util package
11 years ago
Chris Lu
cd10c277b2
can now delete a collection! Is this a dangerous feature? Only enabling
deleting "benchmark" collections for now.
11 years ago
Chris Lu
27c74a7e66
Major:
change replication_type to ReplicaPlacement, hopefully cleaner code
works for 9 possible ReplicaPlacement
xyz
x : number of copies on other data centers
y : number of copies on other racks
z : number of copies on current rack
x y z each can be 0,1,2
Minor:
weed server "-mdir" default to "-dir" if empty
11 years ago
Chris Lu
edae676913
1. volume server auto detect clustered master nodes
2. remove operation package dependency on storage
11 years ago
Chris Lu
11e91bd549
mux router cannot handle "/" correctly. switching it off for volume
servers
11 years ago
Chris Lu
c38eee73ca
refactoring to separate master and volume server, so that these servers
can be embedded into other applications
11 years ago