%s deployment routing info was updated with %s and master notified – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.8-8.9

Briefly, this error occurs when there is a change in the routing information of an Elasticsearch deployment. This could be due to adding or removing nodes, changing the network configuration, or adjusting shard allocation. To resolve this issue, you can verify the changes made to the routing information and ensure they are correct. If the changes were unintentional, revert them back. If the changes were intentional, ensure that all nodes are properly communicating with the master node. Also, check the health of your cluster to ensure it’s green and all shards are properly allocated.

This guide will help you check for common problems that cause the log ” [%s] deployment routing info was updated with [%s] and master notified ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, master, routing.

Log Context

Log “[%s] deployment routing info was updated with [%s] and master notified” classname is TrainedModelAssignmentNodeService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

            return;
        }
        trainedModelAssignmentService.updateModelAssignmentState(
            new UpdateTrainedModelAssignmentRoutingInfoAction.Request(nodeId; deploymentId; update);
            ActionListener.wrap(success -> {
                logger.debug(() -> format("[%s] deployment routing info was updated with [%s] and master notified"; deploymentId; update));
                listener.onResponse(AcknowledgedResponse.TRUE);
            }; error -> {
                logger.warn(() -> format("[%s] failed to update deployment routing info with [%s]"; deploymentId; update); error);
                listener.onFailure(error);
            })

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?