when we use soft_delete is enabled, we find that the index which indexing requests is mainly updates, so the segments bytes grow up more and more bigger, and docs.deleted count is more and more higher.
because index.soft_deletes.retention_lease.period is default 12h, the deleted docs still live in segments after merges.
this cause to the index most update requests slow down and timeout.
I want to know is there any issues or improvements for this in 7,x or 6.8.x version of Elasticsearch?
Ok, probably best to open a ticket with your support engineer to investigate further. There have been a handful of bugs fixed in the 6.8 series in the area of retention leases, and a good deal of further development in the 7.x series too.
Yes possibly this is a bug, and possibly it's fixed in an upgrade -- a lot has changed in the 18 months since 6.8.0 was released. Without digging deeper we can only speculate on what's causing it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.