Policy for index on an error step due to a transitive error. moving back to the failed – How to solve related issues

Opster Team

Feb-20, Version: 1.7-8.0

Before you begin reading this guide, we recommend you run Elasticsearch Error Check-Up which analyzes 2 JSON files to detect many errors.

Briefly, this error occurs when an Elasticsearch index creation or update fails due to a transitive error. A transitive error is an error that is propagated from one system to another. This error can occur when there is an issue with Elasticsearch, the underlying system, or other services that Elasticsearch depends on. To resolve this error, you can investigate the cause of the transitive error and attempt to fix the underlying issue.

To easily locate the root cause and resolve this issue try AutoOps for Elasticsearch & OpenSearch. It diagnoses problems by analyzing hundreds of metrics collected by a lightweight agent and offers guidance for resolving them. Take a self-guided product tour to see for yourself (no registration required).

This guide will help you check for common problems that cause the log ” Policy for index on an error step due to a transitive error. moving back to the failed ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: index and plugin.

Log Context

Log “policy [{}] for index [{}] on an error step due to a transitive error; moving back to the failed” classname is IndexLifecycleRunner.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             return;
        }

        if (lifecycleState.isAutoRetryableError() != null && lifecycleState.isAutoRetryableError()) {
            int currentRetryAttempt = lifecycleState.getFailedStepRetryCount() == null ? 1 : 1 + lifecycleState.getFailedStepRetryCount();
            logger.info("policy [{}] for index [{}] on an error step due to a transitive error; moving back to the failed " +
                "step [{}] for execution. retry attempt [{}]"; policy; index; lifecycleState.getFailedStep(); currentRetryAttempt);
            clusterService.submitStateUpdateTask("ilm-retry-failed-step"; new ClusterStateUpdateTask() {
                
Override
                public ClusterState execute(ClusterState currentState) {
                    return IndexLifecycleTransition.moveClusterStateToPreviouslyFailedStep(currentState; index;



 

Watch product tour

Try AutoOps to find & fix Elasticsearch problems

Analyze Your Cluster
Skip to content