Commit Graph

606 Commits

Author SHA1 Message Date
chris.lu@gmail.com
2af8c354a7 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@57 282b0af5-e82d-9cf1-ede4-77906d7719d0 2012-07-17 05:07:19 +00:00
chris.lu@gmail.com
577bbcb2e3 convenient tool to submit serveral versions of the same file
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@56 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-17 04:11:38 +00:00
chris.lu@gmail.com
008b3fbbc9 remove debug message
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@55 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-17 04:10:54 +00:00
chris.lu@gmail.com
d46e588200 simplify delta of file id, for multi-versioning of a file
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@54 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-16 17:15:16 +00:00
chris.lu@gmail.com
eb9456d7d5 handle special case when browser also asks for favicon.ico
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@53 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-16 07:41:39 +00:00
chris.lu@gmail.com
bcffffbc5e add capability to assign a batch of file ids
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@51 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-16 04:33:21 +00:00
chris.lu@gmail.com
68a216586f add capability to assign a batch of file ids
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@50 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-16 04:12:42 +00:00
chris.lu@gmail.com
74989d69c9 add error handling when non-multipart request comes in
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@49 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-07-03 06:46:26 +00:00
chris.lu@gmail.com
de6e1442d7 also return publicUrl when assigning the fid
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@48 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-06-30 09:14:51 +00:00
chris.lu@gmail.com
8aba24a3f8 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@47 282b0af5-e82d-9cf1-ede4-77906d7719d0 2012-06-29 07:55:33 +00: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
8edf12f026 fix test
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@45 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-03-29 21:47:52 +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
3c7c85b1d4 remove verbose logging
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@43 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-19 18:28:33 +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
380953692b generating makefiles from a newer version of gb
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@41 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-18 22:59:33 +00:00
chris.lu@gmail.com
50b1eff390 add usage instructions
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@40 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-02 01:20:12 +00:00
chris.lu@gmail.com
10511fc54c adding makefiles created by go-gb
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@39 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-02 00:57:55 +00:00
chris.lu@gmail.com
563902cda5 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@38 282b0af5-e82d-9cf1-ede4-77906d7719d0 2012-01-02 00:56:58 +00:00
chris.lu@gmail.com
c8af490fb0 adding makefiles created by go-gb
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@37 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-02 00:53:19 +00:00
chris.lu@gmail.com
0701286243 adding makefiles created by go-gb
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@36 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-02 00:52:43 +00:00
chris.lu@gmail.com
97a1d587d4 adding makefiles created by go-gb
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@35 282b0af5-e82d-9cf1-ede4-77906d7719d0
2012-01-02 00:45:32 +00:00
chris.lu@gmail.com
4c2ca916ec fix enforcing volume size limit
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@34 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-29 08:07:19 +00:00
chris.lu@gmail.com
298fdb4603 add configurable volume size limit
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@33 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-29 01:57:02 +00:00
chris.lu@gmail.com
0eff4311f5 add more error handling, adjust volume size to 32G
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@32 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-29 01:46:38 +00:00
chris.lu@gmail.com
2ccc098882 better error messages
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@31 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-28 20:31:13 +00:00
chris.lu@gmail.com
60c17068a6 correct sequence generating
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@30 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-27 06:09:21 +00:00
chris.lu@gmail.com
b2f4a4e739 adjust weedc heartbeat to be randomly between (1*pulse, 2*pulse) seconds
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@29 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-27 01:51:18 +00:00
chris.lu@gmail.com
3c98f1a119 better log messages
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@28 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-27 01:40:16 +00:00
chris.lu@gmail.com
4c36190dd3 rename weedc option name to publicUrl
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@27 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-26 10:07:53 +00:00
chris.lu@gmail.com
c27f6175d7 update volume status on each heartbeat
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@26 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-26 09:58:07 +00:00
chris.lu@gmail.com
6913fabc64 simplifying volume id mechanism, removing automatic volume id generation and discovering
periodically report machine status

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@25 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-26 09:43:17 +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
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
cc8af2e7dc print error message if invalid file id is used
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@21 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-22 19:55:13 +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
d018809830 efficiently assign file id
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@17 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-19 09:18:13 +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
041a93887c now join, status, read, write for weed server are working!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@15 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-18 10:35:59 +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
1fed603df9 now working for registering volume id ~ machine mapping
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@13 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-17 06:50:51 +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
25d0caa901 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@11 282b0af5-e82d-9cf1-ede4-77906d7719d0 2011-12-16 15:06:58 +00:00
chris.lu@gmail.com
4d7884ca65 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@10 282b0af5-e82d-9cf1-ede4-77906d7719d0 2011-12-16 15:00:05 +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
chris.lu@gmail.com
02f4e7b82c split into server and clients
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@8 282b0af5-e82d-9cf1-ede4-77906d7719d0
2011-12-16 14:51:15 +00:00
chris.lu@gmail.com
5381479177 git-svn-id: https://weed-fs.googlecode.com/svn/trunk@7 282b0af5-e82d-9cf1-ede4-77906d7719d0 2011-12-13 00:17:36 +00:00