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

Remove reduntant ShardDatabaseType

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-03-07

    Description

      There is no difference between ShardDatabaseType and DatabaseType. In particular entries in config.cache.databases could have the enterCriticalSectionCounter additional field. This field is always modified manually and is not part of the serialization/deserialization of ShardDatabaseType . So we can just remove ShardDatabaseType and directly usee DatabaseType also on shards.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: