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

Usage of collStats should use collection namespace not full namespace

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-02-21

      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.

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

              Created:
              Updated:
              Resolved: