Strengthen resharding index verification with exact count

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • ClusterScalability 8Jun-22June
    • 200
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The existing resharding index verification only checks source→temp (every source index exists on the temp collection) but does not detect extra indexes on the temp collection. Add a count assertion to catch unexpected extra indexes.

       

      Consider extracting the inline index and collection options verification blocks into helpers for readability.

            Assignee:
            Kruti Shah
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: