Global checkpoint sync failed – How to solve this OpenSearch error

Opster Team

Aug-23, Version: 1-2.9

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your OpenSearch operation.

Briefly, this error occurs when OpenSearch fails to synchronize global checkpoints across all replicas of a shard. This could be due to network issues, heavy load, or a faulty node. To resolve this, you can try the following: 1) Check your network connectivity and ensure all nodes are reachable. 2) Monitor your cluster’s load and consider adding more nodes or increasing resources if it’s consistently high. 3) Identify and fix or replace any faulty nodes. 4) If the issue persists, consider restarting your OpenSearch cluster, but be aware this may cause downtime.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” {} global checkpoint sync failed ” to appear. To understand the issues related to this log, read the explanation below about the following OpenSearch concepts: index.

Log Context

Log “{} global checkpoint sync failed” classname is GlobalCheckpointSyncAction.java.
We extracted the following from OpenSearch source code for those seeking an in-depth context :

        final ThreadContext threadContext = threadPool.getThreadContext();
        try (ThreadContext.StoredContext ignore = threadContext.stashContext()) {
            threadContext.markAsSystemContext();
            execute(new Request(shardId); ActionListener.wrap(r -> {}; e -> {
                if (ExceptionsHelper.unwrap(e; AlreadyClosedException.class; IndexShardClosedException.class) == null) {
                    logger.info(new ParameterizedMessage("{} global checkpoint sync failed"; shardId); e);
                }
            }));
        }
    }

 

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?

Get expert answers on Elasticsearch/OpenSearch