in src/main/java/org/apache/sling/discovery/commons/providers/base/ViewStateManagerImpl.java [604:620]
protected boolean equalsIgnoreSyncToken(BaseTopologyView newView) {
if (previousView==null) {
return false;
}
if (newView==null) {
throw new IllegalArgumentException("newView must not be null");
}
final ClusterView cluster = newView.getLocalInstance().getClusterView();
if (cluster instanceof LocalClusterView) {
final LocalClusterView local = (LocalClusterView)cluster;
if (!local.hasPartiallyStartedInstances()) {
// then we should not ignore the syncToken I'm afraid
return previousView.equals(newView);
}
}
return previousView.getInstances().equals(newView.getInstances());
}