Details
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.