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

make the CatalogCache cache the databaseVersion in the DatabaseInfoEntry

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.7.2
    • Component/s: Sharding
    • Labels:
      None

      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

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: