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

Remove reduntant collection refresh on create collection coordinator

    XMLWordPrintable

Details

    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-05-31

    Description

      In the create collection coordinator we perform a preliminary check to see if the collection has been already shareded. In fact the collection could have been already sharded previously by either another shard collection execution.

      After acquiring the collection critical section we perform again the very same check, this shouldn't be necessary because no-one else except for the running coordinator could possibly shard the collection.

      The goal of this ticket is to remove completely the second check that is redundant.

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: