Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2075

Move all databases upgrades and schema updates to XWiki's initialization instead of doing it lazily

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3 M1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Similar issues:

      Description

      Right now it's done the first time a URL is hit but this is not good since:

      • the first user pays the penalty
      • the db upgrade script may not have been executed on all sub wikis prior to the migrator execution (see XWIKI-2066)
      • it forces us to use synchronized blocks thus slowing down performances
      • an Admin is not sure the migration has gone correctly

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: