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

move LocalOplogInfo out of db/repl to db/catalog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2021-05-17

      Description

      This class, introduced in SERVER-40809, has two purposes:

      • cache the CollectionPtr to the oplog collection; and
      • to help reserve optimes for timestamped writes.

      It uses the ReplicationCoordinator only to retrieve the current term to populate the optimes it returns.

      This class may be more relevant to correct catalog operation than any specific replica set functionality. We can make a case for moving this class from db/repl to db/catalog.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              benety.goh Benety Goh
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: