Remove recursion from the MigrationManager

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.3.9
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 18 (08/05/16), Sharding 2016-08-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The MigrationManager's _executeMigrations method is currently recursive with no limit on the depth of recursion. In practice, this recursion should never be more than a couple of levels deep, because there aren't that many migrations happening per round, but for the sake of having a bullet-proof code we should rewrite it to not use recursion.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: