use of com.ms.silverking.cloud.toporing.InvalidRingException in project SilverKing by Morgan-Stanley.
the class ConvergenceControllerBase method getResolvedReplicaMap.
protected ResolvedReplicaMap getResolvedReplicaMap(DHTMetaUpdate metaUpdate, RingConfiguration ringConfig) {
RingTree ringTreeMinusExclusions;
ResolvedReplicaMap resolvedReplicaMapMinusExclusions;
try {
ringTreeMinusExclusions = RingTreeBuilder.removeExcludedNodes(metaUpdate.getRingTree(), exclusionSet);
} catch (InvalidRingException ire) {
throw new RuntimeException("Unexpected InvalidRingException", ire);
}
resolvedReplicaMapMinusExclusions = ringTreeMinusExclusions.getResolvedMap(ringConfig.getRingParentName(), null);
return resolvedReplicaMapMinusExclusions;
}
Aggregations