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

Create collection should disable migrations until successfully commit

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 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

      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

       

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

              Created:
              Updated:
              Resolved: