Bamboo Data Center NodeAliveWatchdog shuts down Bamboo during DB scheduled backups
プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
Bamboo Data Center shuts down with a message in atlassian-bamboo.log:
2023-03-23 06:17:46,556 ERROR [scheduler_Worker-6] [NodeAliveWatchdog] Current node failed to refresh its state in DB within last 3 minutes. This node will now go down
環境
Bamboo Data Center 8.0 and above
診断
atlassian-bamboo.log file contains a message:
2023-03-23 06:17:46,556 ERROR [scheduler_Worker-6] [NodeAliveWatchdog] Current node failed to refresh its state in DB within last 3 minutes. This node will now go down
原因
The Bamboo NodeAliveWatchdog monitors the database for read and write ability, if the Database is unavailable or read-only for more than 3 minutes the node will shutdown to allow the cold-standby node if one is available to take-over.
ソリューション
If your database is anticipated to be unavailable for more than 3 minutes you can increase or disable the NodeAliveWatchdog timeout by adding a Bamboo System Property. A value of 0 disables the check, a number greater than 0 will be the number of minutes. For example the snippet below will set the timeout to 5 minutes.
-Dbamboo.node.alive.watchdog.timeout=5