Chris Lu
6df18a9181
rwlock concurrent read map
9 years ago
Chris Lu
4734efa9a1
lock node.children
9 years ago
Chris Lu
57c85adc53
lock dn.volumes
9 years ago
Chris Lu
3626ec5cf7
do not forget to vacuum if cluster changes
9 years ago
Chris Lu
e8193ec201
return nil if no error
fix https://github.com/chrislusf/seaweedfs/issues/299
9 years ago
Chris Lu
442e798985
use detailed map of errors for distributed operations
9 years ago
chrislusf
95e0d2f1b2
make VolumeLayout thread safe
9 years ago
张远浩
7a7f4cecbb
[MOD] fix a bug.if node is nil will get an panic.
9 years ago
tnextday
a98f359122
Fix chunk manifest replicate upload error
Escape the redirect url in volume read handler
9 years ago
chrislusf
6c88abf62f
adjust print out when error
9 years ago
hxiaodon
4e48f64512
Update store_replicate.go
replication operations should be equal to volume's replication setting
9 years ago
tnextday
1817864a45
add chunk file helper to support large file
9 years ago
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