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

dataSize command returns wrong number of documents when there are orphaned documents

    XMLWordPrintableJSON

Details

    • ALL

    Description

      Currently, the dataSize command on mongos does not target shards based on the range specified in the command. In addition, each shard uses the range in the command to do the counting. So if there are orphaned documents, the command will return the wrong number of documents. 

      Attachments

        Activity

          People

            garaudy.etienne@mongodb.com Garaudy Etienne
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: