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

Cache the oplogTruncateAfterPoint in memory and only update it when it changes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-12-28, Execution Team 2021-02-08

      Description

      Currently the oplogTruncateAfterPoint is getting redundantly written to even when the value is not changing – imagine a quiet system, still periodically running the code to flush data to disk (nothing to flush, of course), before which we always do an oplogTruncateAfterPoint update regardless of anything.

        Attachments

          Activity

            People

            Assignee:
            dianna.hohensee Dianna Hohensee
            Reporter:
            dianna.hohensee Dianna Hohensee
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: