Breaking changes in 7.2

This section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 7.2.

See also What’s new in 7.7 and Release notes.

Discovery changes

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 Elasticsearch 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 Elasticsearch would only use 10.11.12.13:9300 for discovery. Seed host addresses containing port ranges are now rejected.