Azure repository does not support yet size > 64mb Fall back to 64mb – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 2.3-2.3

Briefly, this error occurs when Elasticsearch tries to use Azure repository for snapshot/restore operations with a chunk size larger than the supported limit. Azure Blob Storage supports a maximum block size of 64MB. If you try to use a larger size, Elasticsearch will automatically fall back to the maximum supported size. To resolve this issue, you can adjust the chunk size in your repository settings to 64MB or less. Alternatively, you can allow Elasticsearch to automatically adjust the size by not specifying a chunk size in your settings.

This guide will help you check for common problems that cause the log ” azure repository does not support yet size > 64mb. Fall back to 64mb. ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cloud-azure, plugins, repositories and repository-azure.

Log Context

Log “azure repository does not support yet size > 64mb. Fall back to 64mb.” classname is AzureRepository.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

this.blobStore = azureBlobStore;
        this.chunkSize = repositorySettings.settings().getAsBytesSize(Repository.CHUNK_SIZE;
                settings.getAsBytesSize(Storage.CHUNK_SIZE; new ByteSizeValue(64; ByteSizeUnit.MB)));

        if (this.chunkSize.getMb() > 64) {
            logger.warn("azure repository does not support yet size > 64mb. Fall back to 64mb.");
            this.chunkSize = new ByteSizeValue(64; ByteSizeUnit.MB);
        }

        this.compress = repositorySettings.settings().getAsBoolean(Repository.COMPRESS;
                settings.getAsBoolean(Storage.COMPRESS; 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?