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

Remove WiredTigerStandardCappedCursor's dependency on catalog

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Storage Execution 2025-04-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Create a virtual interface for CappedVisibilitySnapshot, that has a isRecordVisible() API.

      Create a callback that returns a pointer to an instance of this interface given an OperationContext* opCtx and a StringData ident.

      Pass this callback from cappedTruncateAfter() all the way to WiredTigerRecordStore::Capped::getCursor(). This part doesn't quite work since cappedTruncateAfter() isn't being used, and visibility is a core idea that's implemented by different cursor types.

      Move capped_snapshots source files to db/collection_crud.

            Assignee:
            ernesto.rodriguez@mongodb.com Ernesto Rodriguez Reina
            Reporter:
            wei.hu@mongodb.com Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: