summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.cpp5
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp
index 784de9edccf..b178e9d1972 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.cpp
+++ b/src/mongo/embedded/replication_coordinator_embedded.cpp
@@ -372,6 +372,11 @@ Milliseconds ReplicationCoordinatorEmbedded::getConfigHeartbeatInterval() const
UASSERT_NOT_IMPLEMENTED;
}
+Status ReplicationCoordinatorEmbedded::validateWriteConcern(
+ const WriteConcernOptions& writeConcern) const {
+ UASSERT_NOT_IMPLEMENTED;
+}
+
void ReplicationCoordinatorEmbedded::processReplSetGetConfig(BSONObjBuilder*,
bool commitmentStatus,
bool includeNewlyAdded) {
diff --git a/src/mongo/embedded/replication_coordinator_embedded.h b/src/mongo/embedded/replication_coordinator_embedded.h
index b41f8430096..9a6bad99f28 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.h
+++ b/src/mongo/embedded/replication_coordinator_embedded.h
@@ -206,6 +206,8 @@ public:
Milliseconds getConfigHeartbeatInterval() const override;
+ Status validateWriteConcern(const WriteConcernOptions& writeConcern) const override;
+
void processReplSetGetConfig(BSONObjBuilder*,
bool commitmentStatus = false,
bool includeNewlyAdded = false) override;