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

Add new $_internalOwningShard agg expression

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

      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

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

              Created:
              Updated:
              Resolved: