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

Make inaccurate_coll_stats.js robust

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • 0

      As seen in BF-35231, $collStats can return an incorrect numDocsTotal when analyzeShardKey is run on a shard key with a unique index, after an unclean shutdown.

      In inaccurate_coll_stats.js, for the case of the shard key with a unique index, we must skip checking the key characteristics metrics .

            Assignee:
            nandini.bhartiya@mongodb.com Nandini Bhartiya
            Reporter:
            nandini.bhartiya@mongodb.com Nandini Bhartiya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: