Re: Question about hinted handoff

2010-07-10 Thread Schubert Zhang
The answer of Benjamin is very right. On Sun, Jul 11, 2010 at 6:27 AM, Benjamin Black wrote: > You constructed a pathological case and then got confused at the result. > > Consider instead a realistic case: RF=3, CL=QUORUM. Writes should go > to all of A, B, and C. B is down when the write req

Re: Question about hinted handoff

2010-07-10 Thread Benjamin Black
You constructed a pathological case and then got confused at the result. Consider instead a realistic case: RF=3, CL=QUORUM. Writes should go to all of A, B, and C. B is down when the write request arrives, so does not acknowledge the it. A and C acknowledge the write. Since quorum is achieved

Re: Question about hinted handoff

2010-07-10 Thread Schubert Zhang
3. B node is down during write operation, so return failure message to client, and write a hint to C node. Will write to the coordinator node. On Thu, Jul 8, 2010 at 10:04 PM, ChingShen wrote: > If so, when does hinted handoff work? > > > On Thu, Jul 8, 2010 at 9:55 PM, Anty wrote: > >> >> >

Re: Question about hinted handoff

2010-07-08 Thread ChingShen
If so, when does hinted handoff work? On Thu, Jul 8, 2010 at 9:55 PM, Anty wrote: > > > On Thu, Jul 8, 2010 at 4:11 PM, ChingShen wrote: > >> Hi all, >> >> Please consider this case: (RF=1, CL=ONE) >> >> 1. I have A, B and C nodes. >> 2. A node is a coordinator node, it sends a request to

Re: Question about hinted handoff

2010-07-08 Thread Anty
On Thu, Jul 8, 2010 at 4:11 PM, ChingShen wrote: > Hi all, > > Please consider this case: (RF=1, CL=ONE) > > 1. I have A, B and C nodes. > 2. A node is a coordinator node, it sends a request to B node to do write > operation. > 3. B node is down during write operation, so return failure m

Re: Question about hinted handoff

2010-07-08 Thread ChingShen
So, am I correctly? Shen On Thu, Jul 8, 2010 at 5:33 PM, Anty wrote: > Sorry I am wrong .Miss the CF=one. > > > On Thu, Jul 8, 2010 at 5:27 PM, Anty wrote: > >> >> >> On Thu, Jul 8, 2010 at 4:11 PM, ChingShen wrote: >> >>> Hi all, >>> >>> Please consider this case: (RF=1, CL=ONE) >>> >>> 1

Re: Question about hinted handoff

2010-07-08 Thread Anty
Sorry I am wrong .Miss the CF=one. On Thu, Jul 8, 2010 at 5:27 PM, Anty wrote: > > > On Thu, Jul 8, 2010 at 4:11 PM, ChingShen wrote: > >> Hi all, >> >> Please consider this case: (RF=1, CL=ONE) >> >> 1. I have A, B and C nodes. >> 2. A node is a coordinator node, it sends a request to B

Re: Question about hinted handoff

2010-07-08 Thread Anty
On Thu, Jul 8, 2010 at 4:11 PM, ChingShen wrote: > Hi all, > > Please consider this case: (RF=1, CL=ONE) > > 1. I have A, B and C nodes. > 2. A node is a coordinator node, it sends a request to B node to do write > operation. > No ,will not choose B , write the data locally in Node A. if RF

Question about hinted handoff

2010-07-08 Thread ChingShen
Hi all, Please consider this case: (RF=1, CL=ONE) 1. I have A, B and C nodes. 2. A node is a coordinator node, it sends a request to B node to do write operation. 3. B node is down during write operation, so return failure message to client, and write a hint to C node. 4. B node comes b