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

Add 'status' field to initialSyncMetrics

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.4.5
    • None
    • Fully Compatible
    • v4.4
    • Repl 2021-03-08

    Description

      In order to to do SERVER-50624, we must be able to specify a query for initial sync statistics but only for "successful" attempts.

      In order to do this, we can do the following:

      • Add a "status" field to InitialSyncStats to indicate whether the initial sync is currently in_progress, success, or failed
      • Currently, we print the stats before we update the attempt info and attempt stats. We should move the log line after incrementing this information so we can properly show the initial sync status as part of the metrics.

      Attachments

        Issue Links

          Activity

            People

              wenbin.zhu@mongodb.com Wenbin Zhu
              jason.chan@mongodb.com Jason Chan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: