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

persist a version field in new config.databases entries in fcv>=4.0

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.2
    • Affects Version/s: 3.7.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-02-12
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      When a new database is created in a cluster, the config server writes an entry for it to config.databases through ConfigSvrCreateDatabaseCommand -> ShardingCatalogManager::createDatabase().

      If the config server is in fcv>=4.0, it should generate a databaseVersion for the new database and include it in the config.databases entry.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: