/** * Must be called by client after recovery operation is complete * to bring the group state up-to-date on this recovery operation. * Not doing so will leave a stale entry in the group's state. */ @Override public void release() throws SignalReleaseException { try { // deprecated fencining in gms proper. // ctx.getGroupHandle().lowerFence(componentName, failedMember); // logger.log(Level.FINE, "lowered fence for component "+ componentName +" and member "+ failedMember); // GMS will reissue FailureRecovery if instance appointed as Recovery Agent fails before removing // its appointment. ctx.getGroupHandle().removeRecoveryAppointments(failedMember, componentName); failedMember=null; } catch ( GMSException e ) { throw new SignalReleaseException( e ); } }
/** * Must be called by client after recovery operation is complete * to bring the group state up-to-date on this recovery operation. * Not doing so will leave a stale entry in the group's state. */ @Override public void release() throws SignalReleaseException { try { // deprecated fencining in gms proper. // ctx.getGroupHandle().lowerFence(componentName, failedMember); // logger.log(Level.FINE, "lowered fence for component "+ componentName +" and member "+ failedMember); // GMS will reissue FailureRecovery if instance appointed as Recovery Agent fails before removing // its appointment. ctx.getGroupHandle().removeRecoveryAppointments(failedMember, componentName); failedMember=null; } catch ( GMSException e ) { throw new SignalReleaseException( e ); } }