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

Opster Team

Aug-23, Version: 1-1.1

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your OpenSearch operation.

Briefly, this error occurs when OpenSearch completes a repository cleanup process. It’s not an error message but an informational log indicating that the cleanup task has been successfully completed. The placeholders [{}][{}] represent the repository and snapshot details, and the result [{}] indicates the outcome of the cleanup. If you’re seeing this message frequently and it’s cluttering your logs, you may want to adjust your logging level or cleanup frequency. If you suspect the cleanup isn’t working as expected, check the result details and investigate any issues.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

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 OpenSearch concepts: admin, repositories, cluster, repository.

Log Context

Log “Done with repository cleanup on [{}][{}] with result [{}]” classname is TransportCleanupRepositoryAction.java.
We extracted the following from OpenSearch 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?

Get expert answers on Elasticsearch/OpenSearch