[SERVER-47528] Presence of initialSyncStatus in replSetGetStatus consumes too much FTDC space Created: 14/Apr/20  Updated: 08/Jan/24  Resolved: 06/May/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 4.2.1
Fix Version/s: 4.2.8, 4.4.0-rc5, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-53476 Don't include initial sync metrics in... Closed
Related
related to SERVER-53382 Add additional initial sync metrics t... Backlog
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Repl 2020-05-18
Participants:

 Description   

SERVER-7019 turned on initialSyncStatus in replSetGetStatus by default, and that causes it to be included in FTDC. However this means that for a user with a very large number of collections there will be a very large number of keys and a lot of expensive schema changes in FTDC, using a very large amount of space and becoming unworkably large. This causes problems for consuming tools, and means that FTDC can roll over before initial sync completes.

We should exclude the initialSyncStatus section from in replSetGetStatus FTDC.



 Comments   
Comment by Githook User [ 01/Jun/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-47528 Turn off initialSyncStatus for replSetGetStatus in FTDC

(cherry picked from commit b9a24ae832ee9854c0766f451582305e794e6ed7)
Branch: v4.2
https://github.com/mongodb/mongo/commit/496547c2552475059ad4b40f0c77223a8375c224

Comment by Githook User [ 08/May/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-47528 Turn off initialSyncStatus for replSetGetStatus in FTDC

(cherry picked from commit b9a24ae832ee9854c0766f451582305e794e6ed7)
Branch: v4.4
https://github.com/mongodb/mongo/commit/c318a8d9b1741de65f970c0132ec7b642378f092

Comment by Githook User [ 06/May/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-47528 Turn off initialSyncStatus for replSetGetStatus in FTDC
Branch: master
https://github.com/mongodb/mongo/commit/b9a24ae832ee9854c0766f451582305e794e6ed7

Generated at Thu Feb 08 05:14:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.