make the CatalogCache cache the databaseVersion in the DatabaseInfoEntry

XMLWordPrintableJSON

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

      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.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: