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

Usage of collStats should use collection namespace not full namespace

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-02-21

    Description

      In defragmentation_util.js, the average object size is found by running collStats on the collection. However, this is currently using the full namespace which will cause collstats to return all 0s. This call should be changed to use only the collection namespace.

      Attachments

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: