// 2. If the local topology = command topology + 1 and pendingCH = null, there are no new owners
ConsistentHash pendingCh = cacheTopology.getPendingCH();
if (pendingCh != null && cmdTopologyId < localTopologyId + 1) {
ConsistentHash writeCh = cacheTopology.getWriteConsistentHash();
Set<Object> affectedKeys = getAffectedKeys(ctx, command);
Set<Address> newTargets = writeCh.locateAllOwners(affectedKeys);
newTargets.remove(rpcManager.getAddress());
if (!newTargets.isEmpty()) {
// Update the topology id to prevent cycles
command.setTopologyId(localTopologyId);
log.tracef("Forwarding command %s to new targets %s", command, newTargets);