This invariant tests a legal condition, and should be removed.
After an unclean shutdown fast-counts can be inaccurate Fast counts are not valid during startup recovery, so the number of records may not be correct even if the collection is empty.
- related to
-
SERVER-48253 invariant in IndexCatalogImpl::createIndexOnEmptyCollection() fails due to inaccurate fast count
- Closed