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
Chris Lu
0b7a235c17
ensure file name does not contain any "/"
12 years ago
Chris Lu
f2af477324
added file name format when exporting. patch from Tamás Gulácsi
12 years ago
Chris Lu
84e1a59df7
add option to output to stdout - patch from Tamás Gulácsi
report file size correctly
12 years ago
Chris Lu
030dde227a
promptive error message
12 years ago
Chris Lu
06444b7c52
up the version to 0.28 beta
12 years ago
Chris Lu
c3ef8b433c
adjust text
12 years ago
Chris Lu
97556f6023
formatting
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
f35b958d90
adding visit function for the NeedleMap
12 years ago
Chris Lu
866d15023d
better error handling, check in for Gulácsi Tamás
12 years ago
Chris Lu
768eaff4b8
fix debug message error
12 years ago
Chris Lu
ec7dfeeaf8
ignore compiled binary file
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
ca9056d673
cosmetics change
12 years ago