Register remote cluster compress setting (#35464)
This is a follow up to #35357. That commit failed to register the new cluster.remote.cluster_name.transport.compress setting with `ClusterSettings`. This commit fixes that.
This commit is contained in:
parent
9aeaceac4b
commit
71cfb730f6
|
@ -294,6 +294,7 @@ public final class ClusterSettings extends AbstractScopedSettings {
|
||||||
RemoteClusterService.ENABLE_REMOTE_CLUSTERS,
|
RemoteClusterService.ENABLE_REMOTE_CLUSTERS,
|
||||||
RemoteClusterService.SEARCH_ENABLE_REMOTE_CLUSTERS,
|
RemoteClusterService.SEARCH_ENABLE_REMOTE_CLUSTERS,
|
||||||
RemoteClusterService.REMOTE_CLUSTER_PING_SCHEDULE,
|
RemoteClusterService.REMOTE_CLUSTER_PING_SCHEDULE,
|
||||||
|
RemoteClusterService.REMOTE_CLUSTER_COMPRESS,
|
||||||
TransportService.TRACE_LOG_EXCLUDE_SETTING,
|
TransportService.TRACE_LOG_EXCLUDE_SETTING,
|
||||||
TransportService.TRACE_LOG_INCLUDE_SETTING,
|
TransportService.TRACE_LOG_INCLUDE_SETTING,
|
||||||
TransportCloseIndexAction.CLUSTER_INDICES_CLOSE_ENABLE_SETTING,
|
TransportCloseIndexAction.CLUSTER_INDICES_CLOSE_ENABLE_SETTING,
|
||||||
|
|
|
@ -99,6 +99,7 @@ public class RemoteClusterServiceTests extends ESTestCase {
|
||||||
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_INITIAL_CONNECTION_TIMEOUT_SETTING));
|
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_INITIAL_CONNECTION_TIMEOUT_SETTING));
|
||||||
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_NODE_ATTRIBUTE));
|
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_NODE_ATTRIBUTE));
|
||||||
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_CLUSTER_PING_SCHEDULE));
|
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_CLUSTER_PING_SCHEDULE));
|
||||||
|
assertTrue(ClusterSettings.BUILT_IN_CLUSTER_SETTINGS.contains(RemoteClusterService.REMOTE_CLUSTER_COMPRESS));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testRemoteClusterSeedSetting() {
|
public void testRemoteClusterSeedSetting() {
|
||||||
|
|
Loading…
Reference in New Issue