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

Mongos will not pick up database versions for database entries it already has cached after setFCV 4.0

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • ALL
    • Sharding 2018-04-23

      This is because mongos will only refresh an entry it has already cached if it is told the entry is stale.

      However, it will only be told the entry is stale if it receives StaleDbVersion from some shard, which can only happen if it attaches a databaseVersion in the request to the shard (and of course, mongos won't attach a database version if its cache entry does not have a database version).

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

              Created:
              Updated:
              Resolved: