-Re: Coprocessor Client Blocking
Gary Helmling 2014-01-22, 00:57
Yes, the pre/post method calls for the Observer hooks (RegionObserver for
postPut()) are executed synchronously on the RPC calling path. So the
RegionServer will not return the response to the client until your
postPut() method has returned. In general, this means that for best
performance you should only load Observers that you need, and any Observers
you write should do their processing as efficiently as possible.
On Tue, Jan 21, 2014 at 4:32 PM, Pradeep Gollakota <[EMAIL PROTECTED]>wrote:
> Hi All,
> In the blog describing the coprocessor there was sequence diagram walking
> through the lifecycle of a Get.
> I'm wondering if the lifecycle of a Put follows the same sequence.
> Specifically for my use case, I'm doing some processing using a
> RegionObserver in the postPut() method. Does the client wait until the
> postPut() is executed? When is the control returned to the client in a Put?