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

Fully initialize the ServiceContext for unit tests that depend on the checkpoint thread

    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-04-17

      With the changes being made in SERVER-29418, the checkpoint thread maintains a pointer to the storage engine as opposed to accessing the storage engine via the ServiceContext due to unit testing limitations.

       

      The only unit test depending on checkpoints today that I know of is WiredTigerKVEngineTest::TestOplogTruncation.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: