public void finishPendingDestroy() { //send a message to peers indicating that they should remove this profile long viewVersion = advisor.startOperation(); try { RemovePersistentMemberMessage.send(advisor.adviseProfileUpdate(), advisor.getDistributionManager(), regionPath, getPersistentID(), getInitializingID()); storage.finishPendingDestroy(); } finally { if (viewVersion != -1) { advisor.endOperation(viewVersion); } } synchronized(lock) { recoveredMembers.clear(); } }
PersistentMemberID initializingId = getInitializingID(); Set profileUpdateRecipients = advisor.adviseProfileUpdate(); if(newId == null || (!newId.equals(oldId) && !newId.equals(initializingId))) { profileUpdateRecipients = advisor.adviseProfileUpdate(); if (logger.isDebugEnabled(LogMarker.PERSIST_ADVISOR)) { logger.debug(LogMarker.PERSIST_ADVISOR, "{}-{}: Sending the new ID to peers. They should remove the old id {}. Recipients: {}",
Set<InternalDistributedMember> members = advisor.adviseProfileUpdate(); Set<InternalDistributedMember> membersHostingThisRegion = advisor.adviseGeneric();
Set<InternalDistributedMember> members = advisor.adviseProfileUpdate(); Set<InternalDistributedMember> membersHostingThisRegion = advisor.adviseGeneric();
PersistentMemberID initializingId = getInitializingID(); Set profileUpdateRecipients = advisor.adviseProfileUpdate(); if(newId == null || (!newId.equals(oldId) && !newId.equals(initializingId))) { profileUpdateRecipients = advisor.adviseProfileUpdate(); if(traceOn()) { trace("Sending the new ID to peers. They should remove the old id " + oldId + ". Recipients " + profileUpdateRecipients);
public void finishPendingDestroy() { //send a message to peers indicating that they should remove this profile long viewVersion = -1; viewVersion = advisor.startOperation(); try { if(logger.infoEnabled()) { advisor.getLogWriter().info(LocalizedStrings.DEBUG, "The advisee is " + advisor.getAdvisee()); } if (advisor.getAdvisee() != null && (advisor.getAdvisee() instanceof ProxyBucketRegion)) { ((ProxyBucketRegion)advisor.getAdvisee()).clearIndexes(advisor.getLogWriter()); } RemovePersistentMemberMessage.send(advisor.adviseProfileUpdate(), advisor.getDistributionManager(), regionPath, getPersistentID(), getInitializingID()); storage.finishPendingDestroy(); } finally { if (viewVersion != -1) { advisor.endOperation(viewVersion); } } synchronized(lock) { recoveredMembers.clear(); } }