Running cleanup operations on repository – How to solve this OpenSearch error

Opster Team

Aug-23, Version: 1-2.9

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 is performing cleanup operations on a specific repository. This could be due to a scheduled maintenance task or an automatic process triggered by the system. It’s not necessarily an error, but an informational message. However, if it’s causing issues, you can resolve it by checking the repository’s health and configuration, ensuring there’s enough disk space, and verifying the repository’s permissions. If the cleanup operation is not completing successfully, you may need to manually intervene to resolve any underlying 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 ” Running cleanup operations on repository [{}][{}] ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: repository, cluster, repositories, admin.

Log Context

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

        final BlobStoreRepository blobStoreRepository = (BlobStoreRepository) repository;
        final StepListener repositoryDataListener = new StepListener();
        repository.getRepositoryData(repositoryDataListener);
        repositoryDataListener.whenComplete(repositoryData -> {
            final long repositoryStateId = repositoryData.getGenId();
            logger.info("Running cleanup operations on repository [{}][{}]"; repositoryName; repositoryStateId);
            clusterService.submitStateUpdateTask(
                "cleanup repository [" + repositoryName + "][" + repositoryStateId + ']';
                new ClusterStateUpdateTask() {

                    private boolean startedCleanup = false;

 

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