Chris Lu
b0e5112702
"weed upload" return message changes
12 years ago
Chris Lu
4c1bc99366
avoid writing the same file
12 years ago
Chris Lu
db46565d18
ensure mime type checking by lower cased file name extension
12 years ago
Chris Lu
1ac71a111f
Issue 28: [HELP NEEDED] weed upload does not send correct mime type to
weedfs
Fix is provided by claudiu.raveica
12 years ago
Chris Lu
3afc2d2ce6
remove unused code
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
53b6831f73
bump up version number to 0.32
12 years ago
Chris Lu
cbd9d14cc4
Issue 27: feature request - Last-Modified header
12 years ago
Chris Lu
53ae13a012
change default number of volumes to 7, so that the first volume growth
would not fail.
12 years ago
Chris Lu
e30e325770
Issue 26: Could not download uploaded files
Fix is provided by hieu.hcmus, He convinced me of the fix. Thanks!
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
715d327df0
Tamás Gulácsi contributed cdb map for read only extremely low memory
implementation.
12 years ago
Chris Lu
fb635146a1
refactoring needle mapper interface to separate index file storage logic
out
12 years ago
Chris Lu
915b16f97a
refactoring, same logic, but the store replication logic is moved to a
stand-alone file, for later easier improvements
12 years ago
Chris Lu
e4da140d0a
rename volume_location.go to volume_location_list.go
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
4d8ce2fe26
adding HEAD support
12 years ago
Chris Lu
437532d559
0.31 is next release
12 years ago
Chris Lu
9da3ea35ac
avoid empty data nodes
12 years ago
Chris Lu
0c75e0438e
bump to 0.30 since it fixed an important bug
12 years ago
Chris Lu
1aea3512a4
return nil instead of memory access error
12 years ago
Chris Lu
6658d5de45
fix sequence assignment error
12 years ago
Chris Lu
2d0a555270
bump up the version
12 years ago
Chris Lu
a1d5a6298c
avoid missing configuration file error
12 years ago
Chris Lu
2d4a7ac9f9
avoid error when missing configuration file
12 years ago
Chris Lu
018df9ceb0
avoid file not exist error
12 years ago
Chris Lu
a3eddde525
fix documentation error
12 years ago
Chris Lu
9bbbbb7c2c
releasing version 0.28
12 years ago
Chris Lu
db8e27be6e
add lots of error checking by GThomas
12 years ago
Chris Lu
bd278337db
checking file name empty
12 years ago
Chris Lu
a4cef2fbd4
only cares about error other than EOF
12 years ago
Chris Lu
91492b4947
avoid EOF error on windows. This is a "try to load" function anyway.
12 years ago
Chris Lu
b395a5289b
do not truncate file if any error happens. Truncating will lose all
files after this file entry.
12 years ago
Chris Lu
2ca983b6d8
print out error message
12 years ago
Chris Lu
aecea22666
Issue 15: Stress test corrupts volume
12 years ago
Chris Lu
38f4425a65
checking error
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
37a1a70cc3
remove unused files
12 years ago
Chris Lu
7743ddd7db
Merge remote-tracking branch 'origin/master'
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
1b6f53cdac
remove binary accidentally checked in
12 years ago
Chris Lu
cb4e8ec16b
re-organize code directory structure
12 years ago
Chris Lu
d3b267bac2
Issue 15: Stress test corrupts volume
Checked in for GThomas(tgulacsi78)
I've also met with partial writes (pipe closed on localhost), and also
met with real corruption: after some partial write, the data size in
needle header was read as some huuuuge number, which resulted in memory
panic.
Please consider the attached patch for ensuring full writes (seeks back
to the beginning on needle append error). Hope this helps.
Tested with a small tmpfs, lot of "no space left on device" :)
(sudo umount -lf /tmp/weed; mkdir -p /tmp/weed && sudo mount -o
size=128M,mode=4777 -t tmpfs tmpfs /tmp/weed && bin/weed master
-mdir=/tmp/weed -debug=true & bin/weed volume -dir=/tmp/weed
-debug=true)
GThomas
12 years ago