Remote store restore is not supported for non-existent index Skipping – How to solve this OpenSearch error

Opster Team

Aug-23, Version: 2.3-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 you attempt to restore an index from a remote store, but the index does not exist. This could be due to a typo in the index name, or the index may have been deleted. To resolve this issue, you can verify the index name and ensure it exists in the remote store. If it doesn’t, you may need to recreate the index or restore it from a backup. Alternatively, you can check the permissions to ensure OpenSearch has access to the remote store.

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 ” Remote store restore is not supported for non-existent index. Skipping: {} ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: index, restore.

Log Context

Log “Remote store restore is not supported for non-existent index. Skipping: {}” classname is RestoreService.java.
We extracted the following from OpenSearch source code for those seeking an in-depth context :

                int totalShards = 0;
                for (String index : request.indices()) {
                    IndexMetadata currentIndexMetadata = currentState.metadata().index(index);
                    if (currentIndexMetadata == null) {
                        // ToDo: Handle index metadata does not exist case. (GitHub #3457)
                        logger.warn("Remote store restore is not supported for non-existent index. Skipping: {}"; index);
                        continue;
                    }
                    if (currentIndexMetadata.getSettings().getAsBoolean(SETTING_REMOTE_STORE_ENABLED; false)) {
                        if (currentIndexMetadata.getState() != IndexMetadata.State.CLOSE) {
                            throw new IllegalStateException(

 

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