Failed to delete some blobs during snapshot delete – How to solve this OpenSearch error

Opster Team

Aug-23, Version: 1.2-2.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 fails to delete some blobs (data blocks) during the process of deleting a snapshot. This could be due to insufficient permissions, network issues, or a problem with the underlying storage system. To resolve this issue, you can try the following: 1) Check and adjust the permissions for the OpenSearch process to ensure it has the necessary rights to delete blobs. 2) Investigate network connectivity to the storage system. 3) Check the health and configuration of the storage system. 4) Retry the snapshot deletion after resolving any identified 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 ” {} Failed to delete some blobs during snapshot delete ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: snapshot, blobstore, repositories, delete.

Log Context

Log “{} Failed to delete some blobs during snapshot delete” classname is BlobStoreRepository.java.
We extracted the following from OpenSearch source code for those seeking an in-depth context :

        threadPool.executor(ThreadPool.Names.SNAPSHOT).execute(ActionRunnable.wrap(listener; l -> {
            try {
                deleteFromContainer(blobContainer(); filesToDelete);
                l.onResponse(null);
            } catch (Exception e) {
                logger.warn(() -> new ParameterizedMessage("{} Failed to delete some blobs during snapshot delete"; snapshotIds); e);
                throw e;
            }
        }));
    }

 

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