Done with repository cleanup on with result – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.4-7.13

Briefly, this error occurs when Elasticsearch has completed the cleanup process of a repository. This is not an error message but an informational message indicating that the cleanup operation was successful. If you’re seeing this frequently and it’s causing concern, you may want to adjust your logging levels or cleanup schedules. Alternatively, if you’re not expecting a cleanup to occur, check your Elasticsearch configuration and any scripts or applications that may be triggering these cleanups.

This guide will help you check for common problems that cause the log ” Done with repository cleanup on [{}][{}] with result [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: repositories, admin, repository, cluster.

Log Context

Log “Done with repository cleanup on [{}][{}] with result [{}]” classname is TransportCleanupRepositoryAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                                }

                                @Override
                                public void clusterStateProcessed(String source; ClusterState oldState; ClusterState newState) {
                                    if (failure == null) {
                                        logger.info("Done with repository cleanup on [{}][{}] with result [{}]";
                                            repositoryName; repositoryStateId; result);
                                        listener.onResponse(result);
                                    } else {
                                        logger.warn(() -> new ParameterizedMessage(
                                            "Failed to run repository cleanup operations on [{}][{}]";

 

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?