Commit graph

29 commits

Author SHA1 Message Date
Chris Lu cb4e8ec16b re-organize code directory structure 2013-02-10 03:09:26 -08:00
Chris Lu 81b9175c7a re-factoring volume file scanning code
add export function
fix bugs on deleted byte counting
2013-01-20 19:44:23 -08:00
Chris Lu f35b958d90 adding visit function for the NeedleMap 2013-01-20 11:27:32 -08:00
Chris Lu bf9c4ed033 Revert "add cmd/dump - a dumper"
This reverts commit 5d2a1e8d48.
2013-01-17 00:15:05 -08:00
Chris Lu d1494ea786 Revert "add CdbMap"
This reverts commit bf0ccf3461.
2013-01-17 00:15:01 -08:00
Chris Lu 5b49065a57 Revert "add Frozen attribute to VolumeInfo"
This reverts commit dd685fdd8d.
2013-01-17 00:14:58 -08:00
Chris Lu 3b21317863 Revert "add "freeze" subcommand to volume"
This reverts commit f262fed197.
2013-01-17 00:14:52 -08:00
Chris Lu ee08e38126 Revert "fix errors with frozen volume loading"
This reverts commit 92ffba2ab9.
2013-01-17 00:14:45 -08:00
Tamás Gulácsi 92ffba2ab9 fix errors with frozen volume loading 2013-01-14 22:18:00 +01:00
Tamás Gulácsi f262fed197 add "freeze" subcommand to volume 2013-01-14 21:42:35 +01:00
Tamás Gulácsi dd685fdd8d add Frozen attribute to VolumeInfo 2013-01-13 17:07:38 +01:00
Tamás Gulácsi bf0ccf3461 add CdbMap 2013-01-12 19:56:47 +01:00
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.
2013-01-05 23:06:44 +01:00
Chris Lu 6201ed537e reporting volume size as early as possible 2012-12-03 22:54:08 -08:00
Chris Lu 94dbe60233 periodically compact volumes 2012-11-23 17:03:27 -08:00
Chris Lu b23e51f205 remove debug message 2012-11-12 11:07:03 -08:00
Chris Lu 01f2fcf72d remove comments 2012-11-09 15:40:28 -08:00
Chris Lu 86c8f248bd support compacting a volume 2012-11-07 01:51:43 -08:00
Chris Lu 6b1e60582c adding file count and deletion count 2012-10-09 20:53:31 -07:00
Chris Lu 2fe4371899 change to a more memory efficient map, implemented by several lists of
<key,offset,size>
2012-09-29 16:07:24 -07:00
Chris Lu 98022f2b3d use NeedleValue directly instead of additional pointer, to reduce memory
usage
2012-09-27 21:46:32 -07:00
chris.lu@gmail.com bb01324482 compatible with Go1
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@46 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-06-29 07:53:47 +00:00
chris.lu@gmail.com 4c31b6d533 delete entry from file index also
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@44 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-19 18:28:54 +00:00
chris.lu@gmail.com ae3a53388f refactoring code
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@24 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-25 05:30:57 +00:00
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
2011-12-24 08:40:56 +00:00
chris.lu@gmail.com ea75165e85 works now!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@20 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-22 04:04:47 +00:00
chris.lu@gmail.com a657eec299 use uint64, instead of key+alternativeKey, as file id
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@18 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-20 02:34:53 +00:00
chris.lu@gmail.com b39d1a77b4 cleaner
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@16 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-19 05:59:37 +00:00
chris.lu@gmail.com 23ecd7bb33 split into server and clients
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@9 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-16 14:51:26 +00:00