MultiIndexBlock::init() does not clear _indexes upon a WCE

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc14, 4.7.0
    • Affects Version/s: 4.5.1, 4.4.0-rc11
    • Component/s: Index Maintenance
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-07-27
    • 30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There was a build failure where this invariant failed.

      This happened because the IndexBuildsManager::setUpIndexBuild() function will retry calling MultiIndexBlock::init() in a write conflict retry loop.
      But because the MultiIndexBlock::init() function does not clean up its state on a WCE, the second attempt will invariant. Adding a onRollback() hook to clear _indexes should do the trick.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: