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
wyy
1cd19447e3
use github.com/aszxqw instead of code.google.com/p
10 years ago
Chris Lu
b9aee2defb
add TTL support
The volume TTL and file TTL are not necessarily the same. as long as
file TTL is smaller than volume TTL, it'll be fine.
volume TTL is used when assigning file id, e.g.
http://.../dir/assign?ttl=3h
file TTL is used when uploading
10 years ago
Chris Lu
1818a2a2da
Change to protocol buffer for volume-join-masster message
Reduced size to about 1/5 of the previous json format message
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
f7f582ec86
1. refactoring, merge "replication" logic into "topology" package
2. when growing volumes, additional preferred "rack" and "dataNode"
paraemters are also provided. Previously only "dataCenter" paraemter is
provided.
11 years ago
Chris Lu
008aee0dc1
Add retrying logic to wait for other peers during cluster bootstrapping.
11 years ago
Chris Lu
0563773944
switch to ReadAt() for thread-safe read
fix bugs during volume compaction
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
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
ef4c2c0d1e
cleaner cluster messages
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
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
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
ac15868694
clean up log fmt usage. Move to log for important data changes,
warnings.
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
915b16f97a
refactoring, same logic, but the store replication logic is moved to a
stand-alone file, for later easier improvements
12 years ago