Chris Lu
b1daede91b
move volume vacuum to gRpc
6 years ago
Chris Lu
75d63db60d
randomize raft server startup
also some go fmt
6 years ago
Chris Lu
eca4b928d2
ensure master server count is odd
6 years ago
Chris Lu
77fc8c5914
keep alive for gRpc calls
7 years ago
Chris Lu
942c2cbd7b
mv pb to master_pb
7 years ago
Chris Lu
e0dfa7a069
ensure 30GB or less
avoid https://github.com/chrislusf/seaweedfs/issues/535
8 years ago
Chris Lu
1fbb8723dc
add cpu and mem pprof
8 years ago
Chris Lu
41f686ab9d
remove weeds.conf
8 years ago
Chris Lu
e767c3ea4f
disable master connection timeout
temporarily disable master connection timeout due to heartbeat
connection timeout
8 years ago
Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 years ago
Chris Lu
ed44f12f6d
support Fallocate on linux
8 years ago
Mike Tolman
ce99bb927d
Revert "Adding HTTP verb whitelisting options."
This reverts commit 34837afc7a
.
9 years ago
Mike Tolman
34837afc7a
Adding HTTP verb whitelisting options.
9 years ago
Chris Lu
d3ae3a8e14
collect proof when stopping
9 years ago
Chris Lu
b38ff39e8b
add master profiling option
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
yanyiwu
9cd221cc33
More readable peers usage:
other master nodes in comma separated ip:port list, example:
127.0.0.1:9333,127.0.0.1:9334
Add example to prompt ip:port list is split by ','
10 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
67146ffa78
Adjust publicUrl to volume server only.
Remove publicUrl from master server.
10 years ago
chrislusf
85efc37320
marking weedfs.conf as deprecating.
The conf settings currently is duplicating with command line options.
10 years ago
chrislusf
eff83a87d1
Add publicUrl for master server
10 years ago
Chris Lu
f7998f8652
merge conflicts
10 years ago
chrislusf
e381356af9
change CLI option from publicIp to publicUrl
Now the publicUrl is free style text.
10 years ago
Chris Lu
af416189f1
Cleanup error printing.
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
Chris Lu
b5aa2ef605
Add master bind ip address option.
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
ba179b1542
Add "-ip.bind" option when starting volume servers.
Also some Weed->Seaweed changes.
10 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
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
39b774a131
1. adding statistics reporting
2. refactor version to util package
11 years ago
Chris Lu
7c5c94785c
switch to idle timeout instead of read timeout
11 years ago
Chris Lu
92afbb858a
adjusting volumeSizeLimitMB default value and descriptions
11 years ago
Chris Lu
41143b3b78
toughen weedfs clustering, adding synchronizing max volume id among
peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft
11 years ago
Chris Lu
097aac2328
adjusting default read time out
11 years ago
Chris Lu
c169429c33
fix https://code.google.com/p/weed-fs/issues/detail?id=64
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
2a8c60f71b
be lenient when writing, but report right away when volume size limit is
exceeded
11 years ago
Chris Lu
11e91bd549
mux router cannot handle "/" correctly. switching it off for volume
servers
11 years ago
Chris Lu
2e2f426fe2
clean up etcd backing for sequence persistent storage. It uses some OS
specific calls and is not OS-agnostic.
11 years ago
Chris Lu
5fdb1d89ce
adding "server" command to start both volume server and an embedded
master server
11 years ago
Chris Lu
eeeccf2f78
ssue 59: Multi Ip Enviromment support + publicUrl is disregarded by
master
11 years ago
Chris Lu
e449a4a517
use glog
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
Chris Lu
bc2f3b26e7
refactoring, start to use gorilla/mux
11 years ago