Upgrade to 5.3 or newer versions of confluence using Oracle database hangs on migrating pages batch job

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Upgrading confluence in Oracle hangs and the following appears in the atlassian-confluence.log:

DefaultSiteMigrator:thread-1 - Migration progress 40,831 of 41,341 pages (98%); 117/341 in this batch required migration.

原因

The database is not able to process the batch default size which is 500 according this page. In the code, Confluence changes the number of executed threads in parallel to be 1 to avoid deadlocks when using Oracle or SQL server.

回避策

Rollback the upgrade and modify the confluence.wiki.migration.batch.size from 500 to 1 and perform the upgrade again by following the System Properties article which specifies that we need to perform the following tasks:

  1. Confluence をシャットダウンします。
  2. Add the following system property (See: Configuring System Properties):

    -Dconfluence.wiki.migration.batch.size=1 
  3. Confluence を再起動します。

 

 

最終更新日 2018 年 11 月 1 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.