Blob already exists while – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 6.8-7.4

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 Elasticsearch operation.

Briefly, this error occurs when Elasticsearch tries to create a blob that already exists in the system. This usually happens during snapshot creation or restoration. The error indicates a conflict or a synchronization issue. To resolve this, you can try the following: 1) Delete and recreate the snapshot, ensuring no other process is using it. 2) Check for any synchronization issues or network glitches that might cause the system to believe the blob doesn’t exist when it does. 3) Ensure that the blob store isn’t being used by another process or thread at the same time.

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 ” Blob already exists while ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: repositories, blobstore.

Log Context

Log “Blob already exists while” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 writeIndexGen(updatedRepositoryData; repositoryStateId);
 } catch (FileAlreadyExistsException ex) {
 // if another master was elected and took over finalizing the snapshot; it is possible
 // that both nodes try to finalize the snapshot and write to the same blobs; so we just
 // log a warning here and carry on
 throw new RepositoryException(; "Blob already exists while " +
 "finalizing snapshot; assume the snapshot has already been saved"; ex);
 } catch (IOException ex) {
 throw new RepositoryException(; "failed to update snapshot in repository"; ex);
 return blobStoreSnapshot;


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?