Package com.atlassian.jira.bc.dataimport
Class VersionTablePopulationService
java.lang.Object
com.atlassian.jira.bc.dataimport.VersionTablePopulationService
Service responsible for populating missing version tables after XML backup restoration.
This addresses the issue where XML backups contain entity data but lack version table entries,
causing "should have a version by now" errors in subsequent operations.
Uses the same proven approach as UpgradeTask_Build900000 with bulk INSERT...SELECT operations
and artificial timestamp markers to efficiently handle large datasets.
- Since:
- v9.x
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionVersionTablePopulationService(QueryDslAccessor queryDslAccessor, JiraProperties jiraProperties) -
Method Summary
Modifier and TypeMethodDescriptionpopulateMissingVersionTables(I18nHelper i18n, TaskProgressSink taskProgressSink)
-
Constructor Details
-
VersionTablePopulationService
public VersionTablePopulationService(QueryDslAccessor queryDslAccessor, JiraProperties jiraProperties)
-
-
Method Details
-
populateMissingVersionTables
public VersionTablePopulationService.VersionPopulationResult populateMissingVersionTables(I18nHelper i18n, TaskProgressSink taskProgressSink)
-