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 ResultsPersisterService.java. 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()) { action.cancel(exception); } onGoingRetryableBulkActions.clear(); }
[ratemypost]