Sending start upgrade request – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.11-8.9

Briefly, this error occurs when Elasticsearch is trying to upgrade an index but encounters an issue. This could be due to insufficient disk space, incompatible index version, or network connectivity issues. To resolve this, ensure you have enough disk space and that your index version is compatible with the current Elasticsearch version. If the problem persists, check your network connectivity. Also, consider reindexing your data if the index is outdated or corrupted.

This guide will help you check for common problems that cause the log ” [{}] [{}] sending start upgrade request ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, upgrade, request.

Log Context

Log “[{}] [{}] sending start upgrade request” classname is TransportUpgradeJobModelSnapshotAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            }
        );

        // Start job task
        ActionListener configIndexMappingUpdaterListener = ActionListener.wrap(_unused -> {
            logger.info("[{}] [{}] sending start upgrade request"; params.getJobId(); params.getSnapshotId());
            persistentTasksService.sendStartRequest(
                MlTasks.snapshotUpgradeTaskId(params.getJobId(); params.getSnapshotId());
                MlTasks.JOB_SNAPSHOT_UPGRADE_TASK_NAME;
                params;
                waitForJobToStart

 

 [ratemypost]