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

Clarify $sample on sharded clusters.

    XMLWordPrintableJSON

Details

    Description

      Current documentation about $sample is correct but does not adress sharded clusters: in this case the sample strategy is done independently on each shard, and mongoS will do a "random sort" on the merged streams.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebastien.mendez@mongodb.com Sebastien Mendez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 20 weeks, 2 days ago