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

Remove cappedTruncateAfter from public RecordStore API

    • Storage Execution
    • Execution Team 2024-10-14, Execution Team 2024-10-28, Execution Team 2024-11-11, Execution Team 2024-11-25, Execution Team 2024-12-09, Execution Team 2024-12-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Now that cappedTrunc is gone, this function is only used for the oplog during startup recovery.

      The following would be nice improvements:

      • Move this functionality to storage engine common code, potentially just a helper in the startup recovery code path.
      • Remove non-oplog functionality, like the aboutToDelete callback.
      • Move the usage of WriteUnitOfWork outside of the RecordStore code.

            Assignee:
            Unassigned Unassigned
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None