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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.11
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 21 weeks, 2 days ago