Given:
I run Optimize 3.4.0 with Elasticsearch 7.11.x
When:
Optimize performs index refresh calls
Then:
Frequent warn logs are found in the optimize log
11:58:26.606 [ThreadPoolTaskScheduler-1] WARN org.elasticsearch.client.RestClient - request [POST http://elasticsearch:9200/_refresh?ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true] returned 1 warnings: [299 Elasticsearch-7.11.0-8ced7813d6f16d2ef30792e2fcde3e755795ee04 "this request accesses system indices: [.tasks], but in a future major version, direct access to system indices will be prevented by default"]
Expected:
none of such warn logs should be present for supported versions of elasticsearch