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

Separate Oplog metadata from WiredTigerRecordStore

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • RSS Sydney
    • Fully Compatible
    • GregsList - 2024-09-03

      Today all WiredTigerRecordStore instances contain the following fields just in case they are the oplog:

      This leads to unnecessarily keeping unrelated stuff in the class instances of ALL collections present on the server.

      The oplog itself is somewhat of a universal RecordStore so there's only one of them on the server at all times. This means these members could very well be marked as decorations keeping only the boolean flag to decide whether to access them or not.

            Assignee:
            nic.hollingum@mongodb.com Nic Hollingum
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: