misskey icon indicating copy to clipboard operation
misskey copied to clipboard

ジョブキューの再試行時、タイミングによってはエラーになる

Open CyberRex0 opened this issue 2 years ago • 0 comments

💡 Summary

ジョブキューの再試行が、タイミングによってエラーになることがある

🥰 Expected Behavior

エラー無しで操作が完了する

🤬 Actual Behavior

{
    "error": {
        "message": "Internal error occurred. Please contact us if the error persists.",
        "code": "INTERNAL_ERROR",
        "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac",
        "kind": "server",
        "info": {
            "e": {
                "message": "Job xxxxxxxxx is not in a delayed state",
                "code": "Error",
                "id": "7755c7f0-2654-4e89-85ce-2879c49e6345"
            }
        }
    }
}

📝 Steps to Reproduce

コントロールパネル→ジョブキュー→「すべてのキューを今すぐ再試行」より、ジョブキューの再試行をする

Memo

各ジョブの再試行中にジョブの状態が変化する場合があり、Delayed以外の状態に遷移した場合にエラーが発生する。

📌 Environment

💻 Frontend

  • Model and OS of the device(s): MacBook Air (2022, M2), macOS Ventura
  • Browser: Chrome 114.0.5735.133 (Official Build) (arm64)
  • Server URL: misskey.io
  • Misskey: 13.13.2

🛰 Backend (for server admin)

  • Installation Method or Hosting Service: systemd
  • Misskey: 13.13.2
  • Node: 18.16.0
  • PostgreSQL: 15.3
  • Redis: 7.0.11
  • OS and Architecture: Ubuntu 22.04.2 LTS amd64

CyberRex0 avatar Jun 19 '23 11:06 CyberRex0