Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10539

Docs for SERVER-28948: open up secondaries to checking shardVersion

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.11
    • None
    • None
    • None

    Description

      Documentation Request Summary:

      This ticket makes shard secondaries participate in the shard versioning protocol. This makes them:
      1) return an error for a request from mongos if the mongos's routing table cache is more stale than the secondary's, so that mongos refreshes its cache and re-targets
      2) filter results using their (new) routing table cache, so that they don't return oprhaned documents for versioned requests

      The following commands were previously unversioned against secondaries, but are now versioned:

      • aggregate
      • count
      • find

      The following commands are still unversioned against secondaries, because they were unversioned against primaries:

      • geoNear
      • distinct

      Finally, note that the following commands are not supported on sharded collections:

      • group

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 14 weeks, 2 days ago