Description
ProxyOpComplete is not accurate in FederationRPCPerformanceMonitor when RemoteException is returned.
Because the remoteException is unwrap in invoke method, and it will be proxyOpComplete(false) in invokeMethod.
// invoke method if (ioe instanceof RemoteException) { RemoteException re = (RemoteException) ioe; ioe = re.unwrapRemoteException(); ioe = getCleanException(ioe); } // invokeMethod method if (this.rpcMonitor != null) { this.rpcMonitor.proxyOpFailureCommunicate(); this.rpcMonitor.proxyOpComplete(false); } throw ioe;