protected ActiveNodeState _updatePersistentState(NodeStateStore<IpAndPort, ActiveNodeState> nodeStore,
ActiveNodeState localNode,
NodeDefinition remoteDef, ActiveNodeState remoteNode)
{
// The main thing is to see if sync range has changed...
final KeyRange oldSyncRange = remoteNode.getRangeSync();
KeyRange newSyncRange = localNode.totalRange().intersection(remoteNode.totalRange());
if (newSyncRange.equals(remoteNode.getRangeSync())) {
LOG.info("Sync range between local and {} unchanged: {}"
,remoteNode.getAddress(), newSyncRange);
} else {
long syncedTo = remoteNode.getSyncedUpTo();
// only need to reset if expanding...