Chris Lu
e46c3415f7
gRpc for master~volume heartbeat
8 years ago
Chris Lu
0559aa9673
use Lock instead of RLock
fix https://github.com/chrislusf/seaweedfs/issues/364
8 years ago
霍晓栋
f04d8fcbcc
if replicated volume has one copy in readonly mode at one node,it should be removed from writable list
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
Chris Lu
57c85adc53
lock dn.volumes
9 years ago
Stuart P. Bentley
f0c2a2dcb3
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
10 years ago
chrislusf
f511b507a5
Add read only public port on volume server
Add read only public port on volume server
10 years ago
chrislusf
a091e6f3bc
display admin url on /dir/status
10 years ago
yourchanges
000c645d45
Move the redirect url perfer to volume server's PublicUrl (reverted from commit 701bb9af19
)
10 years ago
yourchanges
701bb9af19
Move the redirect url perfer to volume server's PublicUrl
10 years ago
Chris Lu
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
10 years ago
yanyiwu
cacfc85869
add some String() to make codes easier to read and debug
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
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
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
b2e8bfb54e
adjusting logs
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
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
5071f528f6
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
7e83a75fba
correctly count volumes, to ensure proper capacity management
12 years ago
Chris Lu
d63c5231ac
url error
12 years ago
Chris Lu
7ee12f14a8
add option to set server's ip address
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
9b99240584
can auto grow 00 and 01 replication volumes
12 years ago
Chris Lu
e7c4ee1c64
register reported topology
12 years ago
Chris Lu
4a7833f1bf
replication related work
12 years ago
Chris Lu
6daf221937
volume layout for each replication level
12 years ago
Chris Lu
8684b0999d
file renaming
12 years ago
Chris Lu
9f4630736d
rename Server to DataNode
formatting
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