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
b395a5289b
do not truncate file if any error happens. Truncating will lose all
files after this file entry.
12 years ago
Chris Lu
aecea22666
Issue 15: Stress test corrupts volume
12 years ago
Chris Lu
5071f528f6
testing compilation with remove package
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
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
Chris Lu
d1494ea786
Revert "add CdbMap"
This reverts commit bf0ccf3461
.
12 years ago
Chris Lu
5b49065a57
Revert "add Frozen attribute to VolumeInfo"
This reverts commit dd685fdd8d
.
12 years ago
Chris Lu
3b21317863
Revert "add "freeze" subcommand to volume"
This reverts commit f262fed197
.
12 years ago
Chris Lu
ee08e38126
Revert "fix errors with frozen volume loading"
This reverts commit 92ffba2ab9
.
12 years ago
Tamás Gulácsi
92ffba2ab9
fix errors with frozen volume loading
12 years ago
Tamás Gulácsi
f262fed197
add "freeze" subcommand to volume
12 years ago
Tamás Gulácsi
dd685fdd8d
add Frozen attribute to VolumeInfo
12 years ago
Tamás Gulácsi
bf0ccf3461
add CdbMap
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
3c8dd8592a
compare read file size with in-memory file size
12 years ago
Chris Lu
1943647860
can read/write files in format version 2
12 years ago
Chris Lu
11cc489ca5
refactoring
12 years ago
Chris Lu
79a49ada39
refactor for reading super block
12 years ago
Chris Lu
ebe7af1833
refactor a bit
12 years ago
Chris Lu
ab5e9727a9
reading/setting/reporting correct volume version
12 years ago
Chris Lu
6201ed537e
reporting volume size as early as possible
12 years ago
Chris Lu
8b60de622e
fix compilation error
12 years ago
Chris Lu
fa61bb1867
remove log message
12 years ago
Chris Lu
94dbe60233
periodically compact volumes
12 years ago
Chris Lu
5e020196f6
add version type
12 years ago
Chris Lu
5dc509c6e4
cleaner code, better error handling
12 years ago
Chris Lu
e00d8dc536
adjust formatting
12 years ago
Chris Lu
ecd0399f8d
Issue 11: Failed to write to replicas for volumen 3
Avoid unnecessary master lookup
12 years ago
Chris Lu
86c8f248bd
support compacting a volume
12 years ago
Chris Lu
6b1e60582c
adding file count and deletion count
12 years ago
Chris Lu
6ce41e30a4
change to 3-digit replication types
12 years ago
Chris Lu
33d5778a46
cleaner error message
12 years ago
Chris Lu
e340fbee82
removing set volume location
display version number
add default replication type
12 years ago
Chris Lu
6892842021
verify adding columes should work well
12 years ago
Chris Lu
e4c0693b03
replication related work on data nodes
12 years ago
Chris Lu
9bde067f16
add comments
12 years ago
Chris Lu
9b4ce65882
simplify volume.go file
13 years ago
Chris Lu
0c32e2e965
simplify volume id printing
13 years ago
Chris Lu
b820609088
change name: needle id instead of needle key
13 years ago
Chris Lu
9f92f2779d
adjusting for types
13 years ago
Chris Lu
5e3ecc1b82
adding VolumeId type
13 years ago
chris.lu@gmail.com
bb01324482
compatible with Go1
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@46 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
659bf1940f
correctly deleting a file
correctly setting volume file size limit
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@42 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago
chris.lu@gmail.com
6813f118d4
get and delete now checks cookie
adding super block
adding tool to fix volume index
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@23 282b0af5-e82d-9cf1-ede4-77906d7719d0
13 years ago