Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13303

Migrator caught in loop calculating dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.2-RC1
    • 3.1.1
    • Installation system
    • None

      The migrator is taking excessively long to map out dependencies. It recalculates the dependency tree every time it checks whether a migration is fulfillable. While running the 3.0.5 migration in database_update.php, which I did not allow to complete due to the excessive amount of taking it was taking, the unfulfillable method was called 2,109,951 times. Since the unfulfillable method calls the get_migration method, migration classes were also instantiated that many times as well. The migrator should be storing the fulfillable status once it has been determined to avoid all of this.

            prototech prototech [X] (Inactive)
            prototech prototech [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: