Define the expectation of the analyzeShardKey command if an unclean shutdown occurs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the analyzeShardKey command is executed on a unique shard key and an unclean shutdown takes place, the metrics returned by the command can be incorrect (as seen in   BF-30851 and BF-35231). This is because the analyzeShardKey metrics rely on the $storageStats.count returned by $collStats. We must define the expectation of the metrics returned in such scenarios. As a fix for the two BFs linked, we removed the checking of the metrics returned. 

            Assignee:
            Unassigned
            Reporter:
            Nandini Bhartiya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: