# Alias \[test-schema-active-logs\] has more than one indices associated with it \[\[......\]\], can't execute a single index op

**URL:** <https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614>\
**Category:** Elasticsearch\
**Created:** [October 11, 2017, 8:28pm UTC](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614 "2017-10-11T20:28:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitachow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankitachow/32/46246_2.png) [@ankitachow](https://discuss.elastic.co/u/ankitachow)\
**Post date:** [October 11, 2017, 8:28pm UTC](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614/1 "2017-10-11T20:28:00Z")

</div>

Elasticsearch 5.4.1  
Rollover API problem

We are using Rollover to create new index upon a document count condition is reached.

But while ingestion is happening, if we run the rollover API, getting below error:  
"Alias [test-schema-active-logs] has more than one indices associated with it [[test-schema-000004, test-schema-000005]], can't execute a single index op"

From Rollover API understanding write alias should automatically switch to new index (test-schema-000005) created and move the alias from the old index (test-schema-000004). How can this error be handled?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 11, 2017, 8:59pm UTC](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614/2 "2017-10-11T20:59:39Z")

</div>

Related issue:

> <https://github.com/elastic/elasticsearch/issues/26976>

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 8, 2017, 8:59pm UTC](https://discuss.elastic.co/t/alias-test-schema-active-logs-has-more-than-one-indices-associated-with-it-cant-execute-a-single-index-op/103614/3 "2017-11-08T20:59:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
