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

make the CatalogCache cache the databaseVersion in the DatabaseInfoEntry

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.2
    • 3.7.1
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-02-12
    • 0

    Description

      Once SERVER-32608 goes in, databases (in FCV >= 4.0) will be created with a databaseVersion (note the new 'version' field):

      {
        _id: "db1",
        primary: "shard0000",
        partitioned: false,
        version: { uuid: UUID("754e23e3-0c42-485f-83fe-d3ea12fe874c"), lastMod: 1 }
      }
      

      The routing table caches on mongos and shards should be made to cache this databaseVersion, so that it can be included in the future on outgoing requests targeted by primary shard.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: