-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.1
-
None
Upgrade takes a long time to complete (12 hours or more) for a Confluence instance with large user base, due to this upgrade task:
2012-09-27 08:16:54,216 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51920 from 71136 missing Personal Information objects. 2012-09-27 08:17:19,967 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51930 from 71136 missing Personal Information objects. 2012-09-27 08:17:44,767 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51940 from 71136 missing Personal Information objects. 2012-09-27 08:18:06,528 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51950 from 71136 missing Personal Information objects. 2012-09-27 08:18:30,515 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51960 from 71136 missing Personal Information objects. 2012-09-27 08:18:56,407 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51970 from 71136 missing Personal Information objects. 2012-09-27 08:19:19,704 INFO [main] [confluence.upgrade.upgradetask.UserIndexingUpgradeTask] doUpgrade Created 51980 from 71136 missing Personal Information objects.
The amount of time taken for each 10 Personal Information objects grows exponentially, as the upgrade continues.
Workaround
For upgrades that take too long to complete (causing production impact), make sure that you have pre-upgrade backups of the Confluence Home Directory and the Confluence Database. Restore those, and upgrade again, but this time, to Confluence 4.3 and not Confluence 4.3.1