-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication, WiredTiger
-
None
-
Fully Compatible
-
Execution Team 2020-01-13, Execution Team 2020-01-27, Execution Team 2020-02-10, Execution Team 2020-02-24
-
(copied to CRM)
When the serverStatus command is invoked, its oplog section collects the most recent applied optime and retrieves the first entry from the oplog collection. Because the oldest op is less likely to be present in the WT cache, this may require us to read from disk, and possibly to wait for space during periods of high cache pressure.
Given the frequency with which serverStatus is called for FTDC collection and by the Monitoring Agent, we should consider implementing a separate caching mechanism and fast-path this query to avoid I/O and WT cache contention.
- causes
-
SERVER-47179 Requesting 'oplog' serverStatus section crashes mongod when there is no oplog
- Closed