Elasticsearch snapshot_missing_exception in fetching all snapshots


(Abhishek Vaid) #1
  • I accidentally deleted folder from S3 directory where ES was storing its snapshots. There are still valid snapshots and their folders but running a command GET /_cat/snapshots/elk?v&s=id gives back:
{
  "error": {
    "root_cause": [
      {
        "type": "snapshot_missing_exception",
        "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] is missing"
      }
    ],
    "type": "snapshot_exception",
    "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] Snapshot could not be read",
    "caused_by": {
      "type": "snapshot_missing_exception",
      "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] is missing",
      "caused_by": {
        "type": "no_such_file_exception",
        "reason": "Blob object [snap-iNHSOW4JQjO0ivbqDMyWSw.dat] not found: The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 708A5FA214BEEABE; S3 Extended Request ID: jG/mqlkEF1N7uWEkN8OF3lnSqN48JlyKWT7roS6hyS/nNBFV5hf56NWzcchYeP99e6bLntbm65c=)"
      }
    }
  },
  "status": 500
}
  • Basically, I want to purge missing snapshots which are externally deleted without ES Snapshot API.

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.