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

Add a getCheckpointCursor() function to the SortedDataInterface interface and implement it for WiredTiger

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution
    • Execution Team 2019-08-12

      SortedDataInterface is similar to RecordStore, except SortedDataInterface is the interface through which to access WT tables for our index data and RecordStore is the interface though which to access the WT tables for our collection data. We do not store data in the same format in WT tables for index data as collection data.

      We will open a cursor at a WT checkpoint. Read about that here http://source.wiredtiger.com/3.2.0/checkpoint.html.

      WT has a WiredTigerCursor class responsible for creating the cursors that indexes use. WiredTigerCursor gets a cursor from the WiredTigerSessionCache. WiredTigerSessionCache is responsible for calling open_cursor against WT. It looks like the validate() function goes through here to here where we use the IndexAccessMethod to instantiate a cursor. WiredTigerCursor appears to open a cursor via one of two WiredTigerSessionCache functions to get cursors.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: