Chris Lu
|
b95c9860ed
|
interface and default implementation for node
|
2012-09-02 14:33:48 -07:00 |
|
Chris Lu
|
a467d5081c
|
adjusted tests
|
2012-09-01 13:17:30 -07:00 |
|
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
|
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
|
03f4c0b832
|
adding topology related types
|
2012-08-23 22:33:37 -07:00 |
|