On 08/07/2012 07:20 PM, levin li wrote:
> If we only store the copies data in memory, then after restart the
> copies data is lost, and we can only try to read the inode data to
> get the copies data, which is expensive

Is this really necessary? We need a lot of code to manage the local vdi copy 
number.
This code open a window that we need a lot of more code to do it right:
 - should also handle vdi deletion on EVERY node.
 - should maintain the consistency of local vdi cp_nr against cluster. For e.g, 
after
restart, some vdi has already been deleted when the node is down, how do you 
handle it?

I don't like this idea, it seems that bring much more trouble than it solves.

-- 
thanks,
Yuan
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to