diff options
author | Vesselina Ratcheva <vesselina.ratcheva@mongodb.com> | 2018-09-06 15:20:01 -0400 |
---|---|---|
committer | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2018-09-12 18:36:18 -0400 |
commit | 83b9f6e435e6bbcadcc270345fa5c0ab1c480819 (patch) | |
tree | aab2b28558485189acf359c11b6dc1bbada3b70c /src/mongo/embedded | |
parent | f615909720935fe0e566a0b453ddc41b8809c1d2 (diff) | |
download | mongo-83b9f6e435e6bbcadcc270345fa5c0ab1c480819.tar.gz |
SERVER-36503 Skip dry run during election handoff
(cherry picked from commit b19e39088cf8754186de8f5f3f1dae17a12aaa4c)
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r-- | src/mongo/embedded/replication_coordinator_embedded.cpp | 2 | ||||
-rw-r--r-- | src/mongo/embedded/replication_coordinator_embedded.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp index 8ecc3fe8ee5..5ccff70e5dd 100644 --- a/src/mongo/embedded/replication_coordinator_embedded.cpp +++ b/src/mongo/embedded/replication_coordinator_embedded.cpp @@ -417,7 +417,7 @@ void ReplicationCoordinatorEmbedded::dropAllSnapshots() { UASSERT_NOT_IMPLEMENTED; } -Status ReplicationCoordinatorEmbedded::stepUpIfEligible() { +Status ReplicationCoordinatorEmbedded::stepUpIfEligible(bool skipDryRun) { UASSERT_NOT_IMPLEMENTED; } diff --git a/src/mongo/embedded/replication_coordinator_embedded.h b/src/mongo/embedded/replication_coordinator_embedded.h index c30cb6a77c8..4024d05a864 100644 --- a/src/mongo/embedded/replication_coordinator_embedded.h +++ b/src/mongo/embedded/replication_coordinator_embedded.h @@ -228,7 +228,7 @@ public: repl::ReplSettings::IndexPrefetchConfig getIndexPrefetchConfig() const override; void setIndexPrefetchConfig(const repl::ReplSettings::IndexPrefetchConfig) override; - Status stepUpIfEligible() override; + Status stepUpIfEligible(bool skipDryRun) override; Status abortCatchupIfNeeded() override; |