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

Unit test CollectionCatalog copy-on-write and CollectionCatalogStasher

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2020-12-28, Execution Team 2021-01-11

    Description

      Testing either of these things requires setting up the unit test different than is done currently in collection_catalog_test.cpp. Rather than a single CollectionCatalog 'catalog' created for the unit tests, we need to create and set a CollectionCatalog on the ServiceContext and fetch it from there, so that copy-on-writes can change it and the test can fetch a new instance that's updated.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: