diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-08-10 19:50:05 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-12 17:52:42 +0000 |
commit | d598744856190df68f36c3f7a88decd30fa8e912 (patch) | |
tree | 7d0b70cf496642739ada7d5af09157808c7a4673 /src/mongo/embedded | |
parent | b018ba7b5bfeea26b1df08fc8bf78e9665718e92 (diff) | |
download | mongo-d598744856190df68f36c3f7a88decd30fa8e912.tar.gz |
SERVER-50140: Initial sync cannot survive unclean restart of the sync source
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r-- | src/mongo/embedded/replication_coordinator_embedded.cpp | 3 | ||||
-rw-r--r-- | src/mongo/embedded/replication_coordinator_embedded.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp index 6c7c5672efd..2437933fa36 100644 --- a/src/mongo/embedded/replication_coordinator_embedded.cpp +++ b/src/mongo/embedded/replication_coordinator_embedded.cpp @@ -47,7 +47,8 @@ ReplicationCoordinatorEmbedded::ReplicationCoordinatorEmbedded(ServiceContext* s ReplicationCoordinatorEmbedded::~ReplicationCoordinatorEmbedded() = default; -void ReplicationCoordinatorEmbedded::startup(OperationContext* opCtx) {} +void ReplicationCoordinatorEmbedded::startup( + OperationContext* opCtx, LastStorageEngineShutdownState lastStorageEngineShutdownState) {} void ReplicationCoordinatorEmbedded::enterTerminalShutdown() {} diff --git a/src/mongo/embedded/replication_coordinator_embedded.h b/src/mongo/embedded/replication_coordinator_embedded.h index 068d0e23359..52015e381e6 100644 --- a/src/mongo/embedded/replication_coordinator_embedded.h +++ b/src/mongo/embedded/replication_coordinator_embedded.h @@ -45,7 +45,8 @@ public: // Members that are implemented and safe to call of public ReplicationCoordinator API - void startup(OperationContext* opCtx) override; + void startup(OperationContext* opCtx, + LastStorageEngineShutdownState lastStorageEngineShutdownState) override; void enterTerminalShutdown() override; |