Don't take DB lock in MODE_X when installing new sharding database metadata

XMLWordPrintableJSON

    • Fully Compatible
    • v6.0, v5.0, v4.4
    • 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.33
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Database metadata refresh should not take the database lock in MODE_X. Instead, we should be able to do it under MODE_IX. This prevents database metadata refreshes from blocking behind ongoing transactions. This is similar to what SERVER-40258 did for collection metadata refreshes.

              Assignee:
              Antonio Fuschetto
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: