Page MenuHomeSoftware Heritage

Stop freezing elasticsearch indexes.
ClosedPublic

Authored by olasd on Thu, Nov 18, 12:23 PM.

Details

Summary

Elasticsearch 7.14 has deprecated index freezing, thanks to improvements
in heap memory usage[1]. So we can stop freezing indexes and just close
them, which should also reduce issues with logstash on restarting
servers.

[1] https://www.elastic.co/blog/significantly-decrease-your-elasticsearch-heap-memory-usage

Test Plan

checked that the updated script works on a local elasticsearch

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.