diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-11-09 11:11:23 -0500 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-11-14 17:56:10 -0500 |
commit | aa8b6f7657450d537cc14a77371dcd8742018a28 (patch) | |
tree | 73c0dd3b133707aaa04567c6e88f8541764d694f /src/mongo/db/repl/rollback_test_fixture.h | |
parent | d0251ad19f1599ffe64d94c2a08c33de5de9144f (diff) | |
download | mongo-aa8b6f7657450d537cc14a77371dcd8742018a28.tar.gz |
SERVER-31805 rollbackViaRefetchNoUUID resyncs uuids correctly
Diffstat (limited to 'src/mongo/db/repl/rollback_test_fixture.h')
-rw-r--r-- | src/mongo/db/repl/rollback_test_fixture.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mongo/db/repl/rollback_test_fixture.h b/src/mongo/db/repl/rollback_test_fixture.h index c24ba1bcffa..c31aeed617e 100644 --- a/src/mongo/db/repl/rollback_test_fixture.h +++ b/src/mongo/db/repl/rollback_test_fixture.h @@ -172,9 +172,9 @@ private: * 'remoteCollOptionsObj': the collection options object that the sync source will respond with to * the rollback node when it fetches collection metadata. * - * A collMod operation with a 'noPadding' argument is used to trigger a collection metadata resync, - * since the rollback of collMod operations does not take into account the actual command object. It - * simply re-syncs all the collection options. + * If no command is provided, a collMod operation with a 'noPadding' argument is used to trigger a + * collection metadata resync, since the rollback of collMod operations does not take into account + * the actual command object. It simply re-syncs all the collection options. */ class RollbackResyncsCollectionOptionsTest : public RollbackTest { @@ -194,6 +194,10 @@ class RollbackResyncsCollectionOptionsTest : public RollbackTest { public: void resyncCollectionOptionsTest(CollectionOptions localCollOptions, + BSONObj remoteCollOptionsObj, + BSONObj collModCmd, + std::string collName); + void resyncCollectionOptionsTest(CollectionOptions localCollOptions, BSONObj remoteCollOptionsObj); }; |