Relevant info [here](https://github.com/elastic/elasticsearch/pull/107987/files#r1626967583) and [here](https://github.com/elastic/elasticsearch/pull/107987/files#r1601485345)
Relevant info here and here