You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to try loading it only once on init, causing bug elastic#1321.
This change moves the call to loadTemplate at connection time, immediately
after successful connection. This has the effect that if overwrite is true,
the template will be loaded on each new established connection.
The template is read on init time and sent to Elasticsearch at connect time.
This means that if the template path is wrong, it will be discovered at
startup (including `-configtest`).
In case there is an error loading the template, the Connect call fails.
This commit includes an integration test for the behaviour.
It used to try loading it only once on init, causing bug #1321.
This change moves the call to loadTemplate at connection time, immediately
after successful connection. This has the effect that if overwrite is true,
the template will be loaded on each new established connection.
The template is read on init time and sent to Elasticsearch at connect time.
This means that if the template path is wrong, it will be discovered at
startup (including `-configtest`).
In case there is an error loading the template, the Connect call fails.
This commit includes an integration test for the behaviour.
elasticsearch template autoloading will not happen if elasticsearch is not available on startup.
For confirmed bugs, please report:
curl http://localhost:9200/_cat/indices?v
http://localhost:9200/_template/topbeat?pretty
The text was updated successfully, but these errors were encountered: