[Elasticsearch] 스냅샷이 지워지지 않는 경우
2019. 8. 16. 18:40ㆍElasticsearch
스냅샷 상태 확인: curl -s -XGET "http://localhost:9200/_snapshot/my_cluster/my_index?pretty"
스냅샷 삭제: curl -X DELETE "http://localhost:9200/_snapshot/my_cluster/my_index?pretty"
snapshot delete hangs, stuck 등의 검색어로 많이 질문이 나오는데 답변이 다 복잡하고 애매모호
그 중 명확한 해결책으로 보이는 것이 스냅샷 상태를 확인 후(GET /_snapshot/backup/_status) 상태가 이상한 놈이 존재하는 노드를 내렸다 올리는 것
https://discuss.elastic.co/t/if-you-cant-delete-a-stuck-in-progress-aborted-snapshot/65041
사랑해요 캐시오웬
'Elasticsearch' 카테고리의 다른 글
[Elasticsearch] 디스크 기반 shard allocation (0) | 2019.09.02 |
---|---|
[Elasticsearch] 운영 환경에서 노드 디스크 교체 작업 가이드 (0) | 2019.08.30 |
[Elasticsearch] Cluster & Node (0) | 2019.08.29 |
[Elasticsearch] 특정 shard가 assigned되지 않고 다른 shard들이 relocate를 반복하는 현상 (0) | 2019.08.28 |
[Elasticsearch] 기본개념 이해하기 (0) | 2019.08.16 |