[SERVER-10287] Record Initial Sync Stats Created: 22/Jul/13  Updated: 06/Dec/22  Resolved: 23/Aug/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Replication Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-18039 Add Initial Sync Skeleton to DataRepl... Closed
Assigned Teams:
Replication
Participants:
Case:

 Description   

During Initial sync we should record stats:

  • Number of (oplog) update failures
  • Number of out-of-band document queries (when an oplog failure occurs)
  • Number of DB/Collections created/finished
  • Elapsed time
  • Number of errors
  • Number of retries
  • Number of times setting minvalid

This info would be very useful for monitoring and for diagnosing performance issues (like repeatedly having to query, on a new connection, for the most recent doc).



 Comments   
Comment by Spencer Brody (Inactive) [ 23/Aug/18 ]

Some of these are logged at initial sync completion time.  If there are requests for additional things to log there they should be filed in a new ticket.

Generated at Thu Feb 08 03:22:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.