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

Add 'status' field to initialSyncMetrics

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      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

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

                Dates

                Created:
                Updated:
                Resolved: