Data pipeline export fails with ‘Inconsistent index used for export job’ error
プラットフォームについて: Data Center のみ - この記事は、Data Center プラットフォームのアトラシアン製品にのみ適用されます。
問題
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.