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.