Completed deletion of expired data – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7-7.3

Briefly, this error occurs when Elasticsearch successfully completes the deletion of expired data. This is not an error message but an informational message indicating that a routine cleanup task has been completed. Elasticsearch automatically deletes old data based on the retention policies set. No action is required if this is the expected behavior. However, if data is being deleted unexpectedly, you may need to review and adjust your retention policies or check if any automated scripts are triggering the deletion.

This guide will help you check for common problems that cause the log ” Completed deletion of expired data ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Completed deletion of expired data” classname is TransportDeleteExpiredDataAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            // the previous action returned in which in the case of a transport_client_boss
            // thread is a disaster.
            remover.remove(new ThreadedActionListener(logger; threadPool; MachineLearning.UTILITY_THREAD_POOL_NAME; nextListener;
                    false));
        } else {
            logger.info("Completed deletion of expired data");
            listener.onResponse(new DeleteExpiredDataAction.Response(true));
        }
    }
}

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?