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
Chris Lu
bd0c7a3d28
comment out etcd support due to its os specific system calls
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
1888d01fa0
adding etcd storage support for cluster meta data. Currently just
sequence. More to come...
11 years ago
Chris Lu
54723c3713
Issue 51: Assign on empty cluster sometime fails under high concurrency
load
Contributed by philoops
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
2e70cc8be7
default to use os.TempDir() instead of hard coded "/tmp"
11 years ago
Chris Lu
d5e7c1de0a
refactoring code
reusable code by go clients
12 years ago
Chris Lu
e45c6b5e21
add white list to both master and volume servers
prepare for v0.41
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
f457eef144
add /submit handler for both master and volume server
12 years ago
Chris Lu
63ebafa113
fix when volume growth are partial successful in automatic mode
12 years ago
Chris Lu
49cc81fdab
added support for /vid/keycookie/filename.txt format for HTTP GET
12 years ago
Chris Lu
50269b74ce
add dataCenter option when assign file keys
add dataCenter option when starting volume servers
some work related to freeze a volume. Not tested yet.
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
d4e5a22e53
rename from cmd to weed for easier "go build"
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
7e0951ad9c
testing compilation with remove package
12 years ago
Chris Lu
55f2627fcf
testing new directory structure
12 years ago
Chris Lu
ab6fb13ad7
avoid the "src" folder
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
81b9175c7a
re-factoring volume file scanning code
add export function
fix bugs on deleted byte counting
12 years ago
Chris Lu
921f1c626a
fix debug message displaying
12 years ago
Chris Lu
5b49065a57
Revert "add Frozen attribute to VolumeInfo"
This reverts commit dd685fdd8d
.
12 years ago
Tamás Gulácsi
dd685fdd8d
add Frozen attribute to VolumeInfo
12 years ago
Chris Lu
8fb8ebdf14
master can redirect GET/DELETE/POST requests to volume servers. So
clients does not always need to remember the volume server locations.
This is good for low~medium sized web site traffic.
12 years ago