@Override public void beforeCompletion() { obtainLocalLocks(); try { this.firstProxy.beforeCompletion(proxy.getTxId().getUniqId()); } catch (GemFireException e) { this.lockReq.releaseLocal(); this.firstProxy.getPool().releaseServerAffinity(); throw e; } }