Chris Lu
|
c51884ce23
|
remove extra code
|
2012-09-01 10:54:41 -07:00 |
|
Chris Lu
|
1760dd083d
|
remove reservedVolumeCount to simplify volume allocation logic
|
2012-09-01 10:51:07 -07:00 |
|
Chris Lu
|
c48bda0232
|
return the node during assigning free volume
|
2012-09-01 02:43:43 -07:00 |
|
Chris Lu
|
7a30a48027
|
assign a free volume randomly
|
2012-09-01 02:20:59 -07:00 |
|
Chris Lu
|
8d0ea07f5f
|
loading from json setup in tests
|
2012-08-31 01:35:11 -07:00 |
|
Chris Lu
|
f5d981ab4d
|
scaffold for tests
|
2012-08-29 01:42:24 -07:00 |
|
Chris Lu
|
317e12644a
|
reserve a volume
add VolumeId.Next()
|
2012-08-29 01:37:40 -07:00 |
|
Chris Lu
|
f7adf1687f
|
reduce duplicated code by using a tree of Node
|
2012-08-29 00:58:03 -07:00 |
|
Chris Lu
|
97e4a1d6eb
|
add code to randomly select one new volume to grow
|
2012-08-28 01:04:39 -07:00 |
|
Chris Lu
|
2dceb44ae4
|
add more for volume placement
fix possible nil volume cases
|
2012-08-27 13:52:02 -07:00 |
|
Chris Lu
|
09ed882e5f
|
clean log
|
2012-08-24 01:15:27 -07:00 |
|
Chris Lu
|
869a6711bc
|
change data center id from integer to string
|
2012-08-23 23:35:30 -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
|
868e47f994
|
remove unused test
|
2012-08-23 23:07:46 -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
|
03f4c0b832
|
adding topology related types
|
2012-08-23 22:33:37 -07:00 |
|
Chris Lu
|
31e4dbfe38
|
change volume id type to topology.VolumeId
|
2012-08-23 22:20:37 -07:00 |
|
Chris Lu
|
0121f35c12
|
starting a shell
|
2012-08-23 20:56:09 -07:00 |
|
Chris Lu
|
5caa7bbdc9
|
refactoring only
|
2012-08-23 19:10:55 -07:00 |
|
chris.lu@gmail.com
|
c627942691
|
adding uncompressing support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@61 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
2012-07-30 08:52:11 +00:00 |
|
chris.lu@gmail.com
|
50c3f1d4a7
|
adding compressiong support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@60 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
2012-07-30 08:37:10 +00:00 |
|
chris.lu@gmail.com
|
f3a4125ee7
|
adding compressiong support!
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@59 282b0af5-e82d-9cf1-ede4-77906d7719d0
|
2012-07-30 08:36:25 +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
|
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
|
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
|
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
|
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
|
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 |
|