Add unit tests for checking the final number of documents in recipient state doc and coordinator state doc when verification is enabled

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This is a follow-up ticket for SERVER-98583, which had unit tests for changeStreamsMonitor.documentsDelta in the recipient doc (in ReshardingRecipientServiceTest) but did not have unit tests for totalNumDocuments in the recipient doc and coordinator doc. That can be added by adding helpers for checking that and calling them in checkRecipientMetrics in checkCoordinatorMetrics.

            Assignee:
            Ben Gawel
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: