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

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

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

      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@mongodb.com Ben Gawel
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: