I have another question related to this. What will happen if the
postPut() throws an exception? will the client receive the exception but
the put is actual successful?
δΊ 2014/1/22 8:57, Gary Helmling ει:
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.