public void updateLocator(final Collection<MemcachedNode> nodes,
final Config newconf) {
Config current = fullConfig.get().getConfig();
ConfigDifference compareTo = current.compareTo(newconf);
if (compareTo.isSequenceChanged() || compareTo.getVbucketsChanges() > 0
|| current.getCouchServers().size() != newconf.getCouchServers().size()) {
getLogger().debug("Updating configuration, received updated configuration"
+ " with significant changes.");
fullConfig.set(new TotalConfig(newconf,
fillNodesEntries(newconf, nodes)));