chore(changeset): add deprecation notice and upgrade task

Signed-off-by: Thomas Cardonne <thomas.cardonne@adevinta.com>
This commit is contained in:
Thomas Cardonne
2024-05-17 10:48:42 +02:00
parent 59a4bea757
commit 3a5c6e6d8b
+5 -1
View File
@@ -2,9 +2,13 @@
'@backstage/plugin-search-backend-module-elasticsearch': minor
---
**BREAKING** The ElasticSearch indexer will now delete stale indices matching the indexer's pattern.
**BREAKING**: The ElasticSearch indexer will now delete stale indices matching the indexer's pattern.
The method `getAliases` of `ElasticSearchClientWrapper` has been deprecated and might be removed in future releases.
An indexer using the `some-type-index__*` pattern will remove indices matching this pattern after indexation
to prevent stale indices leading to shards exhaustion.
Before upgrading ensure that the index pattern doesn't match indices that are not managed by Backstage
and thus shouldn't be deleted.
Note: The ElasticSearch indexer already uses wildcards patterns to remove aliases on these indices.