aboutsummaryrefslogtreecommitdiff
path: root/weed-fs
AgeCommit message (Collapse)AuthorFilesLines
2013-02-10re-organize code directory structureChris Lu55-5228/+0
2013-02-06Issue 15: Stress test corrupts volumeChris Lu1-0/+17
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
2013-01-22ensure file name does not contain any "/"Chris Lu1-0/+2
2013-01-22added file name format when exporting. patch from Tamás GulácsiChris Lu1-6/+43
2013-01-21add option to output to stdout - patch from Tamás GulácsiChris Lu2-14/+21
report file size correctly
2013-01-20promptive error messageChris Lu1-0/+4
2013-01-20up the version to 0.28 betaChris Lu1-1/+1
2013-01-20adjust textChris Lu1-3/+3
2013-01-20formattingChris Lu1-7/+3
2013-01-20re-factoring volume file scanning codeChris Lu11-131/+259
add export function fix bugs on deleted byte counting
2013-01-20adding visit function for the NeedleMapChris Lu2-14/+22
2013-01-20better error handling, check in for Gulácsi TamásChris Lu6-80/+159
2013-01-19fix debug message errorChris Lu1-1/+1
2013-01-19ignore compiled binary fileChris Lu1-1/+0
2013-01-19fix debug message displayingChris Lu6-11/+14
2013-01-17go fmt for all source codesChris Lu35-491/+476
2013-01-17cosmetics changeChris Lu1-8/+11
2013-01-17add git ignoreChris Lu1-0/+1
2013-01-17Revert "sort writables to be able to skew write probability to lesser ids ↵Chris Lu1-35/+5
(older volumes)" This reverts commit ce7394f3bfe50b6dcb7ff1682bd7e5e1b5574da2.
2013-01-17Revert "add error return for (Un)GzipData"Chris Lu3-24/+34
This reverts commit 824371035109225128f8942b64a817838a7c0c25.
2013-01-17Revert "add cmd/dump - a dumper"Chris Lu36-622/+466
This reverts commit 5d2a1e8d4845e7a7f1dccd962bb0ee6a5f9d6081.
2013-01-17Revert "add CdbMap"Chris Lu4-195/+32
This reverts commit bf0ccf346198a65e0321b3cedfb25ef5dad73e2a.
2013-01-17Revert "add Frozen attribute to VolumeInfo"Chris Lu6-55/+7
This reverts commit dd685fdd8d8ac6d28dce0d25b72115e3315a30a8.
2013-01-17Revert "add "freeze" subcommand to volume"Chris Lu7-144/+16
This reverts commit f262fed19784ad85d7cfef985f3dfcc09bd7180c.
2013-01-17Revert "fix errors with frozen volume loading"Chris Lu3-20/+4
This reverts commit 92ffba2ab9561c066ec12379f2288f2a3ea1d9c5.
2013-01-15Merge remote-tracking branch 'choose_remote_name/cdb'Chris Lu45-555/+1086
2013-01-14move to 0.27Chris Lu1-1/+1
2013-01-14fix errors with frozen volume loadingTamás Gulácsi3-4/+20
2013-01-14add "freeze" subcommand to volumeTamás Gulácsi7-16/+144
2013-01-13add Frozen attribute to VolumeInfoTamás Gulácsi6-7/+55
2013-01-12add CdbMapTamás Gulácsi4-32/+195
2013-01-05add cmd/dump - a dumperTamás Gulácsi36-466/+622
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.
2013-01-04add error return for (Un)GzipDataTamás Gulácsi3-34/+24
2013-01-04sort writables to be able to skew write probability to lesser ids (older ↵Tamás Gulácsi1-5/+35
volumes)
2013-01-04master can redirect GET/DELETE/POST requests to volume servers. SoChris Lu3-8/+25
clients does not always need to remember the volume server locations. This is good for low~medium sized web site traffic.
2013-01-02set to beta version for 0.27Chris Lu1-1/+1
2013-01-02compare read file size with in-memory file sizeChris Lu2-1/+14
2013-01-02escape file name when there is a quote insideChris Lu1-1/+3
2012-12-22properly handle quick volume server restartChris Lu4-7/+25
2012-12-22Default more not to gzip since gzip can be done on client side.Chris Lu1-38/+58
2012-12-22use bits in needle.Flags to mark hasName and hasMimeChris Lu2-22/+37
2012-12-22add store metadata:file name, mime type, is_gzippedChris Lu4-10/+56
add support to upload .gz file directly
2012-12-21parallel logic for read and writeChris Lu1-11/+13
2012-12-21fix write errorChris Lu1-1/+1
2012-12-21can read/write files in format version 2Chris Lu6-16/+91
2012-12-21refactoringChris Lu4-52/+72
2012-12-20refactor for reading super blockChris Lu3-76/+92
2012-12-20refactor a bitChris Lu4-54/+73
2012-12-17reading/setting/reporting correct volume versionChris Lu5-7/+11
2012-12-17ensure only compatible volume versions are writableChris Lu3-3/+8