Can t mark store as corrupted – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-8.9

Briefly, this error occurs when Elasticsearch fails to mark a data store as corrupted due to insufficient permissions or disk space issues. To resolve this, you can try increasing the disk space or check the permissions of the Elasticsearch data directory. Also, ensure that the Elasticsearch process has write access to the data directory. If the issue persists, consider checking the health of your hardware as this error can also be caused by hardware failures.

This guide will help you check for common problems that cause the log ” Can’t mark store as corrupted ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: index.

Log Context

Log “Can’t mark store as corrupted” classname is Store.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    ex.addSuppressed(exception);
                }
                if (ex instanceof ImmutableDirectoryException) {
                    logger.debug("Can't mark store with an immutable directory as corrupted"; ex);
                } else {
                    logger.warn("Can't mark store as corrupted"; ex);
                }
            }
            directory().sync(Collections.singleton(corruptionMarkerName));
        }
    }

 

 [ratemypost]

Opster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.