chrislusf
9b8f8f4bb9
add logging
10 years ago
chrislusf
3afa3bea73
Adjust log message
10 years ago
chrislusf
99aee22e08
Adjust admin url pattern
10 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
chrislusf
853701cb6b
Avoid wrong way to delete on replication failure
Avoid wrong way to delete on replication failure. This deletion has bug
to write. The better fix is not to use the deletion on failure at all.
10 years ago
chrislusf
a091e6f3bc
display admin url on /dir/status
10 years ago
chrislusf
1704e5f1a6
adjust debug message
10 years ago
chrislusf
382c521df7
Show returned content when can not parse son
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
f7998f8652
merge conflicts
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
Chris Lu
af416189f1
Cleanup error printing.
10 years ago
Lei Xue
029e3a3822
fix some typos
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
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
df2d3ea7c0
fix old tests that's found not working during travis integration.
11 years ago
Chris Lu
38260fcfb1
rename to _vacuum.go
11 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
3b5035c468
1. v0.54
2. go vet found many printing format errors
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
0abd809663
Correct logic to allocate volume slots
11 years ago
Chris Lu
47620bb27a
correct assign logic for rack level. Still need to fix data center
level.
11 years ago
Chris Lu
ae2ef6e41d
mostly working correctly, but may have failed volume growing attempts
when slots are tight.
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
2861275fb6
working filer server!
11 years ago
Chris Lu
0563773944
switch to ReadAt() for thread-safe read
fix bugs during volume compaction
11 years ago
Chris Lu
b2e8bfb54e
adjusting logs
11 years ago
Chris Lu
76bf72e8ef
adjust log level
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
eec67d6008
fix bug on volume growing failure where free space equals what's
required.
more meaningful volume allocation errors
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