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

Add 'status' field to initialSyncMetrics

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.5
    • None
    • 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

        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: