0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

Revert "Removes UUID from dropDatabase entry"

This reverts commit c3c736d3f2.
This commit is contained in:
Pavithra Vetriselvan 2017-11-10 16:03:55 -05:00
parent e815643763
commit 3181b43cd9

View File

@ -1462,10 +1462,11 @@ TEST_F(RSRollbackTest, RollbackDropDatabaseCommand) {
createOplog(_opCtx.get());
auto commonOperation =
std::make_pair(BSON("ts" << Timestamp(Seconds(1), 0) << "h" << 1LL), RecordId(1));
// 'dropDatabase' operations are special and do not include a UUID field.
auto dropDatabaseOperation =
std::make_pair(BSON("ts" << Timestamp(Seconds(2), 0) << "h" << 1LL << "op"
<< "c"
<< "ui"
<< UUID::gen()
<< "ns"
<< "test.$cmd"
<< "o"