OpenSearch/docs/reference/migration/migrate_7_2.asciidoc
David Turner 4c909e93bb
Reject port ranges in discovery.seed_hosts (#41905)
Today Elasticsearch accepts, but silently ignores, port ranges in the
`discovery.seed_hosts` setting:

```
discovery.seed_hosts: 10.1.2.3:9300-9400
```

Silently ignoring part of a setting like this is trappy. With this change we
reject seed host addresses of this form.

Closes #40786
Backport of #41404
2019-05-08 08:34:32 +01:00

32 lines
963 B
Plaintext

[[breaking-changes-7.2]]
== Breaking changes in 7.2
++++
<titleabbrev>7.2</titleabbrev>
++++
This section discusses the changes that you need to be aware of when migrating
your application to Elasticsearch 7.2.
See also <<release-highlights>> and <<es-release-notes>>.
coming[7.2.0]
//NOTE: The notable-breaking-changes tagged regions are re-used in the
//Installation and Upgrade Guide
//tag::notable-breaking-changes[]
// end::notable-breaking-changes[]
[[breaking_72_discovery_changes]]
=== Discovery changes
[float]
==== Only a single port may be given for each seed host.
In earlier versions you could include a range of ports in entries in the
`discovery.seed_hosts` list, but {es} used only the first port in the range and
unexpectedly ignored the rest. For instance if you set `discovery.seed_hosts:
"10.11.12.13:9300-9310"` then {es} would only use `10.11.12.13:9300` for
discovery. Seed host addresses containing port ranges are now rejected.