Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70924

Create collection should disable migrations until successfully commit

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06
    • 3

    Description

      after SERVER-70167 a quick fix prevents the invariant from crashing the server due to a possible migrations acquiring the critical sections after a failure.

      However, a better approach would be:

      • disable migrations when create collection starts
      • resume migrations when create collection commits

       

      Attachments

        Activity

          People

            pol.pinol@mongodb.com Pol Pinol
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: