ElasticSearch快照 - AlreadyClosedException已关闭

时间:2018-04-10 11:35:48

标签: elasticsearch

我有一堆基于日期的索引,我试图创建一个快照以在不同的索引处加载它。

现在,索引是按月计算的,前几个月都已成功,但是当我尝试创建快照时,最近的2018-04是活跃的并且失败了

{
  "index": "log-2018.04",
  "index_uuid": "log-2018.04",
  "shard_id": 0,
  "reason": "IndexShardSnapshotFailedException[Failed to snapshot]; nested: FlushFailedEngineException[Flush failed]; nested: AlreadyClosedException[translog [362] is already closed (path [/var/lib/elasticsearch/nodes/0/indices/0XYh_UpATpK2lwX8vKgQVA/0/translog/translog-362.tlog]]; ",
  "node_id": "Cd3rZ3UsSFOmRYDC5cfdsg",
  "status": "INTERNAL_SERVER_ERROR"
},

1 个答案:

答案 0 :(得分:0)

重启ElasticSearch解决了这个问题,很奇怪。