# 'More than one write index' errors still occurring in version 7.13.4

**URL:** <https://discuss.elastic.co/t/more-than-one-write-index-errors-still-occurring-in-version-7-13-4/283993>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [September 13, 2021, 12:18am UTC](https://discuss.elastic.co/t/more-than-one-write-index-errors-still-occurring-in-version-7-13-4/283993 "2021-09-13T00:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvilnis](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bvilnis](https://discuss.elastic.co/u/bvilnis)\
**Post date:** [September 13, 2021, 12:18am UTC](https://discuss.elastic.co/t/more-than-one-write-index-errors-still-occurring-in-version-7-13-4/283993/1 "2021-09-13T00:18:00Z")

</div>

This issue has previously been raised [here](https://discuss.elastic.co/t/metricbeat-more-than-one-write-index-errors-in-version-7-13-x/275355), but to summarise our current issue:

We are currently seeing our APM stack (Elastic APM, Elasticsearch, Kibana) produce the following error:

```auto
alias [apm-7.13.4-metric] has more than one write index [apm-7.13.4-metric-000001,apm-7.13.4-meric-000008]

```

The error is triggered on our ES cluster whenever our APM pods are restarted any time after the initial index (`apm-7.13.4-metric-000001`) has been removed via ILM.

It should be noted that the error doesn't occur when either of the following conditions are met:

- `setup.ilm.overwrite` is set to `false`
- The index in question (`apm-7.13.4-metric-000001`) is re-created and attached to the alias with `"is_write_index": false`

The fix appears to have been backported to `7.13.X` in [this PR](https://github.com/elastic/beats/pull/26146), and we are on `7.13.4`, yet we are still running into the issue.

Is anyone still running into this problem on version `>= 7.13.X` or have any ideas what could still be causing this?

Happy to provide more context if relevant.

---

<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:** [October 11, 2021, 12:18am UTC](https://discuss.elastic.co/t/more-than-one-write-index-errors-still-occurring-in-version-7-13-4/283993/2 "2021-10-11T00:18:53Z")

</div>

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