Exception occurred when storing new meta data – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7-8.9

Briefly, this error occurs when Elasticsearch encounters an issue while trying to store new metadata. This could be due to insufficient disk space, incorrect file permissions, or a network connectivity issue. To resolve this, you can free up disk space, check and correct file permissions, or troubleshoot network connectivity. Additionally, ensure that the Elasticsearch cluster is properly configured and that the metadata being stored is not corrupted or in an incorrect format.

This log is related to search problems, in addition to reading the guide below you can use the free Search Log Analyzer. With Opster’s Analyzer, you can easily locate slow searches and understand what led to them adding additional load to your system. The tool is free and takes just 2 minutes to run.

Log Context

Log “Exception occurred when storing new meta data” classname is GatewayMetaState.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            assert threadPoolExecutor.getQueue().isEmpty() : "threadPoolExecutor queue not empty";
            threadPoolExecutor.execute(new AbstractRunnable() {

                public void onFailure(Exception e) {
                    logger.error("Exception occurred when storing new meta data"; e);

                public void onRejection(Exception e) {
                    assert threadPoolExecutor.isShutdown() : "only expect rejections when shutting down";


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?