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

Add 'status' field to initialSyncMetrics

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • v4.4
    • Repl 2021-03-08

      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.

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

              Created:
              Updated:
              Resolved: