Chris Lu
cb9cc29518
volume.list display; fix updating maxVolumeCount for disk
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
d156c74ec0
volume server set volume type and heartbeat to the master
4 years ago
Chris Lu
e426bd541e
grow volumes on volume servers with slots freed by cloud storage
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
aca653c08b
weed shell: list volumes
6 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
179d36ba0e
formatting code by: goimports -w=true .
10 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
5071f528f6
testing compilation with remove package
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
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
12 years ago
Tamás Gulácsi
5d2a1e8d48
add cmd/dump - a dumper
Walk needed to be added to NeedleMap and CompactMap, to be able to add WalkKeys and WalkValues to volume. This is needed for iterating through all the stored needles in a volume - this was dump's purpose.
12 years ago
Chris Lu
73dbb3aed9
load configuration file, with topology configured
12 years ago
Chris Lu
a1bc529db6
lots of fix
1. sending 404 if not found
2. handle node-up/node-down/changing-max/volume-become-full
12 years ago
Chris Lu
e19fd68f18
working now to start/stop volume servers
12 years ago
Chris Lu
9b99240584
can auto grow 00 and 01 replication volumes
12 years ago
Chris Lu
e7c4ee1c64
register reported topology
12 years ago
Chris Lu
b95c9860ed
interface and default implementation for node
12 years ago
Chris Lu
6a84f50d24
interface and default implementation for node
12 years ago
Chris Lu
8d0ea07f5f
loading from json setup in tests
12 years ago
Chris Lu
f7adf1687f
reduce duplicated code by using a tree of Node
12 years ago
Chris Lu
97e4a1d6eb
add code to randomly select one new volume to grow
13 years ago
Chris Lu
869a6711bc
change data center id from integer to string
13 years ago
Chris Lu
03f4c0b832
adding topology related types
13 years ago
Chris Lu
0121f35c12
starting a shell
13 years ago