Elasticsearch无法在存储库错误中更新快照

发布于 2025-01-29 06:34:26 字数 1109 浏览 2 评论 0原文

我正在使用Elasticsearch API快照端点来进行备份,这对我来说很好,但是突然我会遇到此错误 -

  "error" : {
    "root_cause" : [
      {
        "type" : "snapshot_exception",
        "reason" : "[my_s3_repository:daily_backup_202205160300/yvQaLO25SQam8NU3PF7aSQ] failed to update snapshot in repository"
      }
    ],
    "type" : "snapshot_exception",
    "reason" : "[my_s3_repository:daily_backup_202205160300/yvQaLO25SQam8NU3PF7aSQ] failed to update snapshot in repository",
    "caused_by" : {
      "type" : "i_o_exception",
      "reason" : "Unmatched second part of surrogate pair (0xDE83)",
      "suppressed" : [
        {
          "type" : "illegal_state_exception",
          "reason" : "Failed to close the XContentBuilder",
          "caused_by" : {
            "type" : "i_o_exception",
            "reason" : "Unclosed object or array found"
          }
        }
      ]
    }
  },
  "status" : 500
}

这是我使用

curl -Xput“ localhost:9200/_snapshot/my_snapshot/my_s3_repository/daily_backup_backup_backup_202202205160300? wait_for_completion = true“

有什么想法为什么会发生这种情况?

I am using the Elasticsearch API snapshot endpoint to take backups, it was working fine for me but suddenly I am getting this error -

  "error" : {
    "root_cause" : [
      {
        "type" : "snapshot_exception",
        "reason" : "[my_s3_repository:daily_backup_202205160300/yvQaLO25SQam8NU3PF7aSQ] failed to update snapshot in repository"
      }
    ],
    "type" : "snapshot_exception",
    "reason" : "[my_s3_repository:daily_backup_202205160300/yvQaLO25SQam8NU3PF7aSQ] failed to update snapshot in repository",
    "caused_by" : {
      "type" : "i_o_exception",
      "reason" : "Unmatched second part of surrogate pair (0xDE83)",
      "suppressed" : [
        {
          "type" : "illegal_state_exception",
          "reason" : "Failed to close the XContentBuilder",
          "caused_by" : {
            "type" : "i_o_exception",
            "reason" : "Unclosed object or array found"
          }
        }
      ]
    }
  },
  "status" : 500
}

This is the command I am using

curl -XPUT "localhost:9200/_snapshot/my_s3_repository/daily_backup_202205160300?wait_for_completion=true"

Any ideas why this is happening?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文