yanyiwu
5b7628cf08
use github.com/golang/protobuf/proto instead of code.google.com/p/goprotobuf/proto
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
a437d77431
only set lookup cache when successful
11 years ago
Chris Lu
b5f99b26eb
Add volume id lookup caching
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
9653a54766
added typed join result
11 years ago
Chris Lu
4ecf5956d7
Add types to uploading
11 years ago
Chris Lu
7ad6cd35e8
Use type ClusterStatusResult for writing and reading results
11 years ago
Chris Lu
cb56322937
minor textual change
11 years ago
Chris Lu
68021c6fc3
Use type AssignResult when writing and reading result.
11 years ago
Chris Lu
cbc5a76e80
Added batch file deleting.
11 years ago
Chris Lu
b771f060f1
rename variable name
11 years ago
Chris Lu
2eb9014606
rename file from lookup_volume_id.go to lookup.go
11 years ago
Chris Lu
5878f7c3a1
refactor lookup result types into package "operation"
11 years ago
Chris Lu
51fafdb525
more robust filer
11 years ago
Chris Lu
2861275fb6
working filer server!
11 years ago
Chris Lu
7251e357e7
enhance deletion operation
11 years ago
Chris Lu
3dbebfd1e1
Thread-safe fixes:
1. avoid sharing []byte
2. switch to use ReadAt()
11 years ago
Chris Lu
7a8bc2e19e
avoid sharing same err variable
11 years ago
Chris Lu
c3ce024fc1
reusing http connections
11 years ago
Chris Lu
466a55b06d
fix error message
11 years ago
Chris Lu
a121453188
benchmarking writing data to a specific collection
11 years ago
Chris Lu
c830b60f36
refactoring
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
59b9fd26fc
fix replication type parameter name
11 years ago
Chris Lu
eeeccf2f78
ssue 59: Multi Ip Enviromment support + publicUrl is disregarded by
master
11 years ago
Chris Lu
1645d3c185
avoid nil cases when error
11 years ago
Chris Lu
d0473e27d9
refactor api: lookup file id
11 years ago
Chris Lu
c4a4d3609b
fix duplicated file id list entries when uploading large file
11 years ago
Chris Lu
0e5e0a3754
add option to split large files into parts and then upload
11 years ago
Chris Lu
3b68711139
support for collections!
11 years ago
Chris Lu
5eac4f043a
remove a comment
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
37b231b5dc
Only limit input parameter to io.Reader
12 years ago
Chris Lu
8e1ac16d16
refactoring submit operation
12 years ago
Chris Lu
48e4ced29d
easier for client to delete file
12 years ago
Chris Lu
d5e7c1de0a
refactoring code
reusable code by go clients
12 years ago
Chris Lu
f7c1a15ad1
correctly print strings in error
12 years ago
Chris Lu
ed154053c8
switching to temporarily use glog library
12 years ago
Chris Lu
e94d52c1af
replicate mime type
12 years ago
Chris Lu
5e3b6e968a
escaping upload file name special characters
if already gzipped, avoid gzipping again
12 years ago
Chris Lu
dd66193bfb
remove logging
12 years ago
Chris Lu
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
12 years ago
Chris Lu
db46565d18
ensure mime type checking by lower cased file name extension
12 years ago