}
ConsistentHash newCurrentCH = consistentHashFactory.updateMembers(currentCH, newCurrentMembers, getCapacityFactors());
ConsistentHash newPendingCH = null;
if (pendingCH != null) {
List<Address> newPendingMembers = pruneInvalidMembers(pendingCH.getMembers());
newPendingCH = consistentHashFactory.updateMembers(pendingCH, newPendingMembers, getCapacityFactors());
}
boolean missingSegments = isDataLost(currentCH, members);
log.tracef("Is missing segments? %s", missingSegments);
CacheTopology newTopology = new CacheTopology(topologyId + 1, newCurrentCH, newPendingCH, missingSegments);
updateCacheTopology(newTopology);