snapshot_in_progress_exception: snapshot_in_progress_exception
Elasticsearch의미
요청한 작업이 현재 진행 중인 스냅샷과 충돌해 거부되었다. 예를 들어 스냅샷을 생성하는 동안 인덱스를 삭제/닫거나 리포지토리를 수정하려는 시도가 차단된다.
원인
스냅샷이 아직 실행 중일 때 해당 스냅샷에 포함된 인덱스를 삭제/닫거나, 리포지토리를 제거/수정하거나, 충돌하는 다른 스냅샷/복원 작업을 시작하려 한 경우다. Elasticsearch는 일관성을 유지하기 위해 이런 충돌 작업을 허용하지 않는다.
해결 방법
실행 중인 스냅샷이 끝날 때까지 기다린다: GET _snapshot/_status로 진행 상황을 모니터링한다. 작업을 꼭 취소해야 한다면 스냅샷을 삭제해 중지한다: DELETE _snapshot/repo/snapshot_name (실행 중인 스냅샷이 중단된다). 스냅샷이 완료되거나 취소된 후 원래 작업(인덱스 삭제, 리포지토리 변경)을 다시 실행한다.
같은 데이터베이스의 다른 항목
- bind_transport_exceptionbind_transport_exception (Address already in use) (주소가 이미 사용 중)
- translog_corrupted_exceptiontranslog_corrupted_exception
- recovery_engine_exceptionrecovery_engine_exception
- repository_verification_exceptionrepository_verification_exception
- reduce_search_phase_exceptionreduce_search_phase_exception
- aggregation_execution_exceptionaggregation_execution_exception
- failed_node_exceptionfailed_node_exception