simplified to one machine per volume

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@14 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
chris.lu@gmail.com committed 2011-12-18 07:22:04 +00:00
1 parent 1fed603df9
commit 2c7a4eea1f
5 files changed
+104 -81

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
1. clients report its own server info, volumes info,
2. master collect all volumes, separated into readable volumes, writable volumes, volume2machine mapping
machines is an array of machine info
writable volumes is an array of vids
vid2machineId maps volume id to machineId, which is the index of machines array