Chris Lu
766396d249
weed master: atomic volume counting
possible fix for https://github.com/chrislusf/seaweedfs/issues/913
6 years ago
Chris Lu
aca653c08b
weed shell: list volumes
6 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
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
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
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
018f0b73be
properly handle quick volume server restart
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
f3da0906ed
channel based visitor pattern
12 years ago
Chris Lu
b0e250d437
adjusting refresh topology writable volumes(not finished yet)
Need to refreshWritableVolumes for each replication type
12 years ago
Chris Lu
15ced2398e
adjusting maxVolumeCount if volume server changes it
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
03f4c0b832
adding topology related types
13 years ago
Chris Lu
0121f35c12
starting a shell
13 years ago