-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 6.4.12, 7.2.8
-
Component/s: Migration - Server to Server
-
6.04
-
23
-
Severity 3 - Minor
-
5
Summary
XML Backup will be corrupted when generated while DVCS synchronization is running.
Environment
- DVCS is configured and sync is running
Steps to Reproduce
- Configure JIRA with DVCS connection to Bitbucket
- While DVCS synchronization is running, create an XML backup
Expected Results
The XML backup created are usable and restored correctly
Actual Results
Trying to restore the XML backup created will throw the error in the UI and logs
There was a problem restoring ActiveObjects data for the <unknown plugin> plugin. Caught exception with following message: ERROR: insert or update on table "AO_E8B6CC_ISSUE_TO_CHANGESET" violates foreign key constraint "fk_ao_e8b6cc_issue_to_changeset_changeset_id" Detail: Key (CHANGESET_ID)=(1885) is not present in table "AO_E8B6CC_CHANGESET_MAPPING". Please check the log for details.
Workaround
- Create an XML backup with the following JVM arguments in place ( restart required ). This will stop all outgoing connections:
-Dhttp.proxyHost=127.255.255.255 -Dhttp.proxyPort=1234 -Dhttps.proxyHost=127.255.255.255 -Dhttps.proxyPort=1234 -Dhttp.nonProxyHosts=localhost
- Rely on native database backup