Concurrent modification of alias during rollover – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.8-7.1

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 Elasticsearch operation.

Briefly, this error occurs when two or more processes attempt to modify the same Elasticsearch alias simultaneously during a rollover operation. This can lead to data inconsistency or loss. To resolve this issue, you can implement a queue system to manage rollover requests, ensuring only one operation is performed at a time. Alternatively, you can use a lock mechanism to prevent concurrent modifications. Lastly, you can schedule rollovers at different times to avoid overlap.

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 ” Concurrent modification of alias [{}] during rollover ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: admin, alias, indices.

Log Context

Log “Concurrent modification of alias [{}] during rollover” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 public ClusterState execute(ClusterState currentState) throws Exception {
 MetadataRolloverService.RolloverResult rolloverResult = rolloverService.rolloverClusterState(currentState;
 rolloverRequest.getRolloverTarget(); rolloverRequest.getNewIndexName();
 rolloverRequest.getCreateIndexRequest(); metConditions; false; false);
 if (rolloverResult.sourceIndexName.equals(sourceIndexName) == false) {
 throw new ElasticsearchException("Concurrent modification of alias [{}] during rollover";
 return rolloverResult.clusterState;


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?