summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.cpp
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-11 18:37:42 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-15 13:30:02 -0400
commit70a3df4dd5d102b2370a871c9182be281100a487 (patch)
tree4101519c5505800900caf30b1730c5fc6cdaeb5a /src/mongo/db/op_observer_impl.cpp
parentbb4ba528dd4254c33ac77026f94bc287b590ff3c (diff)
downloadmongo-70a3df4dd5d102b2370a871c9182be281100a487.tar.gz
SERVER-42194 Make Collection always hold a UUID (rather than optional UUID)
Diffstat (limited to 'src/mongo/db/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer_impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl.cpp b/src/mongo/db/op_observer_impl.cpp
index 870c10a7c1f..ca72ef06a95 100644
--- a/src/mongo/db/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer_impl.cpp
@@ -623,7 +623,6 @@ void OpObserverImpl::onCollMod(OperationContext* opCtx,
}
Collection* coll = db->getCollection(opCtx, nss);
- invariant(coll->uuid());
invariant(coll->uuid() == uuid);
invariant(DurableCatalog::get(opCtx)->isEqualToMetadataUUID(opCtx, nss, uuid));
}