[SERVER-37625] Collect diagnostic information for replication oplog window Created: 15/Oct/18  Updated: 29/Oct/23  Resolved: 15/Nov/18

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

Type: Improvement Priority: Major - P3
Reporter: Emilio Scalise Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: SWDI, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-21755 Add periodic collection of db.serverS... Closed
Problem/Incident
Related
related to SERVER-38310 Oplog information collection stalls FTDC Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2018-11-19
Participants:
Linked BF Score: 0

 Description   

It would be useful to have in the `diagnostic.data` information the information shown with the command db.printreplicationinfo() and in particular the "oplog first event time" over the time.

This will allow us to know the replication oplog window metric over the time to troubleshoot replication issues.



 Comments   
Comment by Githook User [ 13/Dec/18 ]

Author:

{'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}

Message: SERVER-38310 Oplog information collection stalls FTDC

Revert "SERVER-37625 Add oplog earliest time to FTDC"

This reverts commit dd17c8ad0fa2b9b71df5f0b00ec77f58b55c4a5b.
This reverts commit 98ca46fda7788d13cca31569d6e722699514c1fa.
Branch: master
https://github.com/mongodb/mongo/commit/6d900523fac41857c7fe05a34dd480d1f4b56ec8

Comment by Bruce Lucas (Inactive) [ 29/Nov/18 ]

This had an unfortunate unforeseen side effect: see SERVER-38310.

Comment by Githook User [ 15/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37625 Add oplog earliest time to FTDC
Branch: master
https://github.com/mongodb/mongo/commit/dd17c8ad0fa2b9b71df5f0b00ec77f58b55c4a5b

Comment by Githook User [ 15/Nov/18 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-37625 Add oplog earliest time to FTDC
Branch: master
https://github.com/mongodb/mongo/commit/98ca46fda7788d13cca31569d6e722699514c1fa

Comment by Bruce Lucas (Inactive) [ 15/Oct/18 ]

I think it might be better to add {oplog: true} to the ftdc serverStatus command as this will add oplog earliestTime and latestTime to ftdc. 

Generated at Thu Feb 08 04:46:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.