Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30883

Fast-path caching of oldest oplog entry

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Replication, WiredTiger
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2020-01-13, Execution Team 2020-01-27, Execution Team 2020-02-10, Execution Team 2020-02-24

      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.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: