Commit graph

26 commits

Author SHA1 Message Date
Chris Lu 7e83a75fba correctly count volumes, to ensure proper capacity management 2012-12-03 21:27:57 -08:00
Chris Lu e19edccf3a ensure properly make volume unwritable. Previously passing volumeInfo
reference, causing make wrong volumes unwritable!
2012-12-03 20:28:12 -08:00
Chris Lu 94dbe60233 periodically compact volumes 2012-11-23 17:03:27 -08:00
Chris Lu 6b1e60582c adding file count and deletion count 2012-10-09 20:53:31 -07:00
Chris Lu 73dbb3aed9 load configuration file, with topology configured 2012-09-22 20:46:31 -07:00
Chris Lu e19fd68f18 working now to start/stop volume servers 2012-09-19 01:45:30 -07:00
Chris Lu f3da0906ed channel based visitor pattern 2012-09-18 14:05:12 -07:00
Chris Lu b0e250d437 adjusting refresh topology writable volumes(not finished yet)
Need to refreshWritableVolumes for each replication type
2012-09-17 01:48:09 -07:00
Chris Lu 6671f576cb adjusting log messages 2012-09-16 23:21:18 -07:00
Chris Lu 9b99240584 can auto grow 00 and 01 replication volumes 2012-09-16 17:31:15 -07:00
Chris Lu 6daf221937 volume layout for each replication level 2012-09-10 00:18:07 -07:00
Chris Lu 9f4630736d rename Server to DataNode
formatting
2012-09-08 16:25:44 -07:00
Chris Lu cdd64a8099 dc and rack aware volume allocation 2012-09-03 01:50:04 -07:00
Chris Lu b95c9860ed interface and default implementation for node 2012-09-02 14:33:48 -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 9f92f2779d adjusting for types 2012-08-23 22:56:14 -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