Handle elasticsearch becoming read only due to low disk space #14
Labels
area: elasticsearch
consider soon
Discuss this issue at the next planning meeting, then remove this label
type: bug
Existing functionality is wrong or broken
The elastic sync service should handle ES temporarily becoming read only and recover when ES becomes writable, currently the failed queries are ignored:
2022-04-02 10:42:23,620 - scribe.service.ElasticSyncService - WARNING - indexing failed for an item: {'update': {'_index': 'claims', '_type': '_doc', '_id': '4023ca39b415cd916a304d71a3d528d8770f2ca5', 'status': 429, 'error': {'type': 'cluster_block_exception', 'reason': 'index [claims] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];'}}}
The text was updated successfully, but these errors were encountered: