Make inaccurate_coll_stats.js robust

XMLWordPrintableJSON

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

      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
            Reporter:
            Nandini Bhartiya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: