Skip to content

Commit b3f05ee

Browse files
committed
More apparent diff
1 parent a55c7ab commit b3f05ee

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

server/src/main/java/org/elasticsearch/transport/RemoteClusterAware.java

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.SelectorResolver;
1515
import org.elasticsearch.cluster.node.DiscoveryNode;
1616
import org.elasticsearch.common.settings.ClusterSettings;
17-
import org.elasticsearch.common.settings.Setting;
1817
import org.elasticsearch.common.settings.Settings;
1918
import org.elasticsearch.core.Strings;
2019
import org.elasticsearch.core.Tuple;
@@ -220,23 +219,8 @@ void validateAndUpdateRemoteCluster(LinkedClusterConnectionConfig config) {
220219
*/
221220
protected abstract void updateRemoteCluster(LinkedClusterConnectionConfig config);
222221

223-
// This will go away
224222
public void listenForUpdates(ClusterSettings clusterSettings) {
225-
List<Setting.AffixSetting<?>> remoteClusterSettings = List.of(
226-
RemoteClusterService.REMOTE_CLUSTER_COMPRESS,
227-
RemoteClusterService.REMOTE_CLUSTER_PING_SCHEDULE,
228-
RemoteConnectionStrategy.REMOTE_CONNECTION_MODE,
229-
SniffConnectionStrategy.REMOTE_CLUSTERS_PROXY,
230-
SniffConnectionStrategy.REMOTE_CLUSTER_SEEDS,
231-
SniffConnectionStrategy.REMOTE_NODE_CONNECTIONS,
232-
ProxyConnectionStrategy.PROXY_ADDRESS,
233-
ProxyConnectionStrategy.REMOTE_SOCKET_CONNECTIONS,
234-
ProxyConnectionStrategy.SERVER_NAME
235-
);
236-
clusterSettings.addAffixGroupUpdateConsumer(
237-
remoteClusterSettings,
238-
(clusterAlias, settings) -> validateAndUpdateRemoteCluster(new LinkedClusterConnectionConfig(clusterAlias, settings))
239-
);
223+
assert false : "this will be removed";
240224
}
241225

242226
/**

0 commit comments

Comments
 (0)