タスクのアップグレード
UPGRADETASK-2001 プル リクエスト コミットのコンテンツによってアップグレード マーカー ファイルがバックフィルされる 警告
問題
With the introduction of pull request links on commit pages in 5.11, Bitbucket Data Center and Server must run an upgrade task to index existing pull request commit relationships. The upgrade task processes a single repository at a time, and persists progress by writing an upgrade marker file with the ID of the latest repository processed. Once all repositories have been processed, the upgrade task writes -1
to the file.
UPGRADETASK-2001 課題は、このマーカー ファイルのコンテンツが有効でないことを示します。つまり、アップグレード タスクの進捗を確認できず、その結果、一部のプル リクエスト コミット関係をインデックスできません。ファイルが空、またはファイルのコンテンツを整数に変換できない場合、ファイルのコンテンツは無効とみなされます。アップグレード マーカー ファイルが不足している場合、この問題はトリガーされません。
アラートの詳細
UPGRADETASK-2001 が起票されると、問題を診断できるよう次のデータが収集されます。
content
: the content of the marker file, truncated to 10 characters.
原因
The upgrade marker file at <PATH_TO_SHARED_HOME>/config/upgrade/core-backfill-pull-request-commits
is corrupted. The contents of the file are considered invalid if the file is empty or the file contents cannot be converted to an integer.
問題の軽減策
If this issue is encountered, the marker file can be deleted in order to run the upgrade task again next time Bitbucket is started.
Alternatively, the contents of the file can be set to -1
in order to mark the upgrade task as completed.
However, this may result in some or all pull request links missing from commits. If the issue occurs repeatedly after manual intervention, contact support at https://support.atlassian.com/ja.