[sheepdog] [PATCH] sheep: add a kill node operation

Liu Yuan namei.unix at gmail.com
Fri Jul 20 13:39:32 CEST 2012


On 07/20/2012 07:28 PM, Dietmar Maurer wrote:
>> I meant IOs from VMs, you can't simple delay the recovery process. For e.g,
>> object OBJ has three copies in node A, B, C. Suppose that B is down, before it
>> start up again, how do you handle requests on OBJ? and when B is back, how
>> do you handle off the updates back to B for OBJ?
> 
> How do you handle It currently during recovery?
> 

For now, we will get a 1) epoch_mismatch error, or 2) OBJ is being recovery for this case and 
gateway node will retry the request when the epoch matches (1), targeted node will re-queue
the request locally when OBJ is recoveried (2).

So to conclude, node change event will be transparent to the VMs, that is, we allow VMs doing
IO even some nodes join/fail.

-- 
thanks,
Yuan



More information about the sheepdog mailing list