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
a121453188
benchmarking writing data to a specific collection
11 years ago
Chris Lu
8111f7663d
formatting
11 years ago
Chris Lu
0e5e0a3754
add option to split large files into parts and then upload
11 years ago
Chris Lu
8e1ac16d16
refactoring submit operation
12 years ago
Chris Lu
d5e7c1de0a
refactoring code
reusable code by go clients
12 years ago
Chris Lu
d51c8d37bd
Issue 6: upload file without id specified
12 years ago
Chris Lu
e94d52c1af
replicate mime type
12 years ago
Chris Lu
3ae2eabf09
add more description to upload command
12 years ago
Chris Lu
b409ccc5ab
upload respect master default replication setting
12 years ago
Chris Lu
5e3b6e968a
escaping upload file name special characters
if already gzipped, avoid gzipping again
12 years ago
Chris Lu
70fe7e6b5d
support gzip file upload, fix problem during replication of gzipped data
12 years ago
Chris Lu
de368ef3c3
adjust usage
12 years ago
Chris Lu
d9c25ccbb0
upload files recursively matching a pattern
12 years ago
Chris Lu
ddf4f27a56
better error message if directory is not found
12 years ago
Chris Lu
72490bc00f
Consistent result format when error happens
12 years ago
Chris Lu
208ed2a991
Add support to upload a directory recursively.
12 years ago
Chris Lu
b0e5112702
"weed upload" return message changes
12 years ago
Chris Lu
4c200acd7d
1. ensure replicated file has the same timestamp
2. upload can specify modified time by &ts=...
3. correctly return code 304
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
79d11ac951
go vet
12 years ago
Chris Lu
d4e5a22e53
rename from cmd to weed for easier "go build"
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
12 years ago
Chris Lu
7e0951ad9c
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
921f1c626a
fix debug message displaying
12 years ago
Chris Lu
b0c7df0c3b
go fmt for all source codes
12 years ago
Chris Lu
bf9c4ed033
Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48
.
12 years ago
Tamás Gulácsi
5d2a1e8d48
add cmd/dump - a dumper
Walk needed to be added to NeedleMap and CompactMap, to be able to add WalkKeys and WalkValues to volume. This is needed for iterating through all the stored needles in a volume - this was dump's purpose.
12 years ago
Chris Lu
6ce41e30a4
change to 3-digit replication types
12 years ago
Chris Lu
5cb38f9ea7
use one-liner debug(messages)
12 years ago
Chris Lu
20706d8cf2
more error handling
12 years ago
Chris Lu
a847e2beee
better error reporting and handling
12 years ago
Chris Lu
ac5f227aae
correct crc
correct volume id lookup
12 years ago
Chris Lu
77c0de914a
now any data node can accept storing files
files are automatically copied to replicas
12 years ago
Chris Lu
5e97179d06
refactoring content uploading
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
9b99240584
can auto grow 00 and 01 replication volumes
12 years ago
chris.lu@gmail.com
5e9dc0e668
all switching to "weed command [args]" usage mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@64 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago