During the upgrade process the script that populates publicationPeriod is executed and significantly slows down the upgrade (
MODINVSTOR-774). To address the issue the existing implementation has been removed in https://github.com/folio-org/mod-inventory-storage/pull/676/files and the field needs to be populated manually (example: https://github.com/folio-org/mod-inventory-storage/blob/master/src/main/resources/templates/db_scripts/populatePublicationPeriod.sql ).
This story is to cover other possible approach that will continue to populate publicationPeriod automatically without negatively impacting the migration process
- publicationPeriod is populated automatically
- Migration process for mod-inventory-storage is below 2hours on the bugfest data set (8M instance records)