Data pipeline export fails with ‘Inconsistent index used for export job’ error
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
When exporting data using the data pipeline API in Jira or Confluence Data Center, the export fails.
The following error is returned in the REST response:
...
"key": "export.pre.validation.failed",
"message": "Inconsistent index used for export job."
...
原因
The data pipeline relies on the search index to export data. If your index is out of date when an export is performed, so stop the export, and throw the inconsistent index error, rather than exporting data that may be incomplete or inaccurate.
回避策
To resolve the problem, you should reindex your site. However, you can choose to bypass the index check and force the pipeline to complete the export by including the forceExport=true parameter in your REST request.
ソリューション
To resolve this problem you will need to rebuild your index. This can take some time in large sites, and may need to be performed when your site is less busy.