as you see in the screenshot above the disk usage of my index grows indefinitely over time. If I close the index and then reopen it the usage drops, as you can see from the graph. I did a _close followed by a _open at 00, 07 and 16.
My application does a lot of replaces, but not many inserts. I except to see the disk usage grow a little, but the merging should inhibit it from growing too much.
I checked the _cat/shards and _cat/segments api and it seems to me that the segments are correctly merged.
I don't understand why a close of the index should free disk space, but is the only method I have found to stop elastic from saturating all the available disk space. (also restarting the nodes work)
This phenomenon started after upgrading from elastic7 to elastic 8.11.1
I have tried to create a new index from scratch (using api _reindex) but it persist.
Do you have any suggestion?