Upgrading partial searchable snapshots to use frozen shard limit group – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.13-8.9

Briefly, this error occurs when Elasticsearch is trying to upgrade partial searchable snapshots to use the frozen shard limit group. This is part of the process of optimizing the system for better performance and resource management. To resolve this issue, you can either increase the shard limit or reduce the number of shards in your cluster. Alternatively, you can also consider upgrading your Elasticsearch version to the latest one, as it might contain improvements related to shard limit management.

This guide will help you check for common problems that cause the log ” Upgrading partial searchable snapshots to use frozen shard limit group ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, upgrade, shard.

Log Context

Log “Upgrading partial searchable snapshots to use frozen shard limit group” classname is SearchableSnapshotIndexMetadataUpgrader.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

    }

    private void maybeUpgradeIndices(ClusterState state) {
        // 99% of the time; this will be a noop; so precheck that before adding a cluster state update.
        if (needsUpgrade(state)) {
            logger.info("Upgrading partial searchable snapshots to use frozen shard limit group");
            submitUnbatchedTask("searchable-snapshot-index-upgrader"; new ClusterStateUpdateTask() {
                @Override
                public ClusterState execute(ClusterState currentState) throws Exception {
                    return upgradeIndices(currentState);
                }

 

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?