Commit graph

46 commits

Author SHA1 Message Date
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 3c8dd8592a compare read file size with in-memory file size 2013-01-02 15:39:55 -08:00
Chris Lu 1943647860 can read/write files in format version 2 2012-12-21 02:13:02 -08:00
Chris Lu 11cc489ca5 refactoring 2012-12-21 00:36:55 -08:00
Chris Lu 79a49ada39 refactor for reading super block 2012-12-20 22:32:21 -08:00
Chris Lu ebe7af1833 refactor a bit 2012-12-20 21:57:03 -08:00
Chris Lu ab5e9727a9 reading/setting/reporting correct volume version 2012-12-17 17:51:39 -08:00
Chris Lu 6201ed537e reporting volume size as early as possible 2012-12-03 22:54:08 -08:00
Chris Lu 8b60de622e fix compilation error 2012-11-23 18:14:28 -08:00
Chris Lu fa61bb1867 remove log message 2012-11-23 18:07:43 -08:00
Chris Lu 94dbe60233 periodically compact volumes 2012-11-23 17:03:27 -08:00
Chris Lu 5e020196f6 add version type 2012-11-21 10:52:08 -08:00
Chris Lu 5dc509c6e4 cleaner code, better error handling 2012-11-20 01:45:36 -08:00
Chris Lu e00d8dc536 adjust formatting 2012-11-20 00:54:37 -08:00
Chris Lu ecd0399f8d Issue 11: Failed to write to replicas for volumen 3
Avoid unnecessary master lookup
2012-11-12 01:26:18 -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 6ce41e30a4 change to 3-digit replication types 2012-09-30 02:20:33 -07:00
Chris Lu 33d5778a46 cleaner error message 2012-09-26 20:30:05 -07:00
Chris Lu e340fbee82 removing set volume location
display version number
add default replication type
2012-09-24 02:01:53 -07:00
Chris Lu 6892842021 verify adding columes should work well 2012-09-13 01:33:47 -07:00
Chris Lu e4c0693b03 replication related work on data nodes 2012-09-10 17:08:52 -07:00
Chris Lu 9bde067f16 add comments 2012-09-08 00:05:58 -07:00
Chris Lu 9b4ce65882 simplify volume.go file 2012-08-23 23:24:32 -07:00
Chris Lu 0c32e2e965 simplify volume id printing 2012-08-23 23:14:54 -07:00
Chris Lu b820609088 change name: needle id instead of needle key 2012-08-23 23:06:15 -07:00
Chris Lu 9f92f2779d adjusting for types 2012-08-23 22:56:14 -07:00
Chris Lu 5e3ecc1b82 adding VolumeId type 2012-08-23 22:46:54 -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 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
2012-01-19 00:49:41 +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 cf7094f3c9 return written bytes, add debug mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@22 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-24 01:25:22 +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 9c6a9bf518 simplify the file id format
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@19 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-20 09:00:01 +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 2c7a4eea1f simplified to one machine per volume
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@14 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-18 07:22:04 +00:00
chris.lu@gmail.com 10930ce6b6 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@12 282b0af5-e82d-9cf1-ede4-77906d7719d0 2011-12-17 06:47:23 +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