Failed to bump term to – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7-8.3

Briefly, this error occurs when Elasticsearch tries to increase the term number of the current leader node but fails. This could be due to network issues, node failures, or resource constraints. To resolve this issue, you can try the following: 1) Check the health of your nodes and ensure they are running properly. 2) Verify your network connectivity. 3) Check if there are any resource constraints like disk space or memory and free up resources if necessary. 4) If the problem persists, consider restarting the Elasticsearch cluster.

This guide will help you check for common problems that cause the log ” failed to bump term to {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster.

Log Context

Log “failed to bump term to {}” classname is
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                    try {
                        logger.debug("updateMaxTermSeen: maxTermSeen = {} > currentTerm = {}; bumping term"; maxTermSeen; currentTerm);
                        ensureTermAtLeast(getLocalNode(); maxTermSeen);
                    } catch (Exception e) {
                        logger.warn(new ParameterizedMessage("failed to bump term to {}"; maxTermSeen); 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?