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

Shard maxSize does not use dataSize

    XMLWordPrintableJSON

Details

    Description

      Doc's say that MongoS will use dataSize in calculating shard size.

      Review of the code shows that we actually use the mapped value for that shard. This has implications if you delete documents to make space to free space to make a shard a viable candidate again.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 19 weeks ago