wankai123 commented on code in PR #11119: URL: https://github.com/apache/skywalking/pull/11119#discussion_r1269056654
########## docs/en/changes/changes.md: ########## @@ -50,6 +50,7 @@ * Apply MQE on Virtual-Cache layer UI-templates * Add Echo component ID(5015) language: Golang. * Fix `index out of bounds exception` in `aggregate_labels` MQE function. +* Fix Elasticsearch storage TTL timer, move created the latest index before retrieval indexes by aliases to avoid the 404 exception. Review Comment: > > And another possible cause: TTL deletes all indexes and fails to create the latest index (no chance to create again) > > In what situation TTL can delete all indices but fail to create new index? TTL delete only one outdated index per day, if all the indices are deleted it might indicate that it always fails when creating index and thus indicates the ES server is broken, why it succeeds to create new index if you move the creation to earlier? yes, it just exists in theory, network or other issues that cause success to delete but fails to create. I move create index earlier to give a chance to recreate index. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
