chrislusf
78bc7b393f
tweaking ui
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
Chris Lu
f7998f8652
merge conflicts
10 years ago
Chris Lu
7b4a53b2c1
Add optional admin port to volume server, to seperate admin operations from normal file operations.
10 years ago
Lei Xue
029e3a3822
fix some typos
10 years ago
yanyiwu
5b7628cf08
use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto
10 years ago
yanyiwu
5a40f539f2
fix bug: upload a file which already existed return a wrong file size.
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
e8e8d11bd3
Refactor out weedfs vacuum.
11 years ago
Chris Lu
8c04c5ed5f
remove the println
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
637469e656
log the volume server connected to which master server
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
9653a54766
added typed join result
11 years ago
Chris Lu
56a3d30e75
batch delete on volume servers
11 years ago
Chris Lu
59f6a13609
adding lots of different stats
11 years ago
Chris Lu
37dd41ab91
print out log message
11 years ago
Chris Lu
3fec41b911
remove unnecessary code
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
edae676913
1. volume server auto detect clustered master nodes
2. remove operation package dependency on storage
11 years ago
Chris Lu
0e5c4e432d
report when size is closing to the volume limit
fix error
11 years ago
Chris Lu
2a8c60f71b
be lenient when writing, but report right away when volume size limit is
exceeded
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
3f5f8657d2
add a command to force compaction of a volume, removing deleted files
11 years ago
Chris Lu
82b74c7940
issue 43 "go fmt" chagnes from "Ryan S. Brown" <sb@ryansb.com>
some basic changes to parse upload url
11 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
123b0cc2df
fix for issue #35
12 years ago
Chris Lu
ff1c04c486
fix issue 34
12 years ago
Chris Lu
d4105f9b46
add support for multiple folders and multiple max limit: eg
-dir=folder1,folder2,folder3 -max=7,8,9
12 years ago
Chris Lu
d1fcf1fd67
add error when size limit is reached
12 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
fb635146a1
refactoring needle mapper interface to separate index file storage logic
out
12 years ago
Chris Lu
3222d40871
fix compilation error
12 years ago
Chris Lu
95dc977608
accurate error messages during writing
12 years ago
Chris Lu
a4369b35a7
merge changes from about dealing with read only volumes.
97482255d5
.diff
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
81b9175c7a
re-factoring volume file scanning code
add export function
fix bugs on deleted byte counting
12 years ago
Chris Lu
866d15023d
better error handling, check in for Gulácsi Tamás
12 years ago