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

Add new $_internalOwningShard agg expression

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • QE 2022-11-14, QE 2022-11-28

    Description

      Takes in a document, outputs the shardId string of the shard that owns the shard key value.

       

      Field description
      shardKeyVal object containing the shard key values.
      ns namespace of the sharded collection
      uuid optional uuid of the sharded collection
      shardVersion shard version of the collection

      Attachments

        Activity

          People

            denis.grebennicov@mongodb.com Denis Grebennicov
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: