While processing a batch on a collection, dbCheck holds the database lock in strong shared mode, which unnecessarily interferes with writes to other collections.
Remove 'replicatedSystemCollections' list in dbCheck
dbCheck should not hold a strong collection lock during batches
Remove dbCheck dependency on DeferredWriter
dbCheck command violates lock ordering by acquiring lock on "local" database first
Remove catalog consistency verification from dbCheck