summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavithra Vetriselvan <pavithra.vetriselvan@mongodb.com>2017-11-10 16:03:55 -0500
committerPavithra Vetriselvan <pavithra.vetriselvan@mongodb.com>2017-11-10 16:03:55 -0500
commit3181b43cd9f0a61d032dbdd1ac66184dcf25bbdf (patch)
tree2d5abb8b66343f72c1d267f473c03f3eb6af0994
parente815643763888b000656c08fb08dda0af7e2b8a9 (diff)
downloadmongo-3181b43cd9f0a61d032dbdd1ac66184dcf25bbdf.tar.gz
Revert "Removes UUID from dropDatabase entry"
This reverts commit c3c736d3f2755e7e8b59638fd94cb000265abdf3.
-rw-r--r--src/mongo/db/repl/rs_rollback_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rs_rollback_test.cpp b/src/mongo/db/repl/rs_rollback_test.cpp
index 7cde2e78d4f..4b656e2e61e 100644
--- a/src/mongo/db/repl/rs_rollback_test.cpp
+++ b/src/mongo/db/repl/rs_rollback_test.cpp
@@ -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"