Reset mode has been enabled – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.13-8.9

Briefly, this error occurs when the Elasticsearch cluster is set to reset mode. This mode is typically used during maintenance or troubleshooting, and it prevents any changes to the cluster’s state. To resolve this issue, you can disable the reset mode by using the appropriate API command. Alternatively, if you’re performing maintenance or troubleshooting, you may want to leave the reset mode enabled until you’re finished. Always ensure to disable it once you’re done to allow normal operations.

This guide will help you check for common problems that cause the log ” Reset mode has been enabled ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “Reset mode has been enabled” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 clusterService.addListener((event) -> {
 if (event.metadataChanged()) {
 isResetMode = MlMetadata.getMlMetadata(event.state()).isResetMode();
 if (isResetMode) {
 final RuntimeException exception = new CancellableThreads.ExecutionCancelledException("Reset mode has been enabled");
 for (RetryableAction action : onGoingRetryableBulkActions.values()) {