I think there are no race conditions with the following methods

hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/ServerCall.java

public synchronized void setResponse(Message m, final CellScanner cells, 
Throwable t, String errorMsg)

public synchronized void setCallBack(RpcCallback callback)

public synchronized BufferChain getResponse()

hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyServerCall.java

public synchronized void sendResponseIfReady()

can we remove the synchronized here? thanks.

Reply via email to