hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <els...@apache.org>
Subject Re: Is HBase RPC-Handling idempotent for reads?
Date Sun, 09 Apr 2017 22:34:40 GMT
+1 to that one, Jerry :). I think we're missing some context, Suli.

Also, I don't know of any code path in which an RPC would be partially 
processed and then returned to the queue. Calls go from wire -> queue -> 
handler, they can't move backwards. They either move forward or throw an 
exception.

Jerry He wrote:
> I don't know what your intention and your context are.
>
> You may get a different mvcc number and get different results next time
> around if there are concurrent writes.
>
> Thanks,
>
> Jerry
>
> On Sun, Apr 9, 2017 at 12:48 PM 杨苏立 Yang Su Li<yangsuli@gmail.com>  wrote:
>
>> Hi,
>>
>> I am wondering, for read requests like Get/MultiGet/Scan, is the RPC
>> handling idempotent in HBase?
>>
>> More specifically, if in the middle of RPC handling we stop the handling
>> threads, puts the RPC call back to the queue, and later another RPC Handler
>> picks up this call and starts all over again, will the result be the same
>> as if this call is being handled for the first time now? Or are their any
>> unexpected side effects?
>>
>> Thanks!
>>
>> Suli
>>
>> --
>> Suli Yang
>>
>> Department of Physics
>> University of Wisconsin Madison
>>
>> 4257 Chamberlin Hall
>> Madison WI 53703
>>
>

Mime
View raw message