summaryrefslogtreecommitdiff
path: root/src/mongo/embedded
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2021-04-20 13:12:39 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-30 17:12:57 +0000
commit1c2ae5a2203000534aae7f3fb5b6317b60a35d02 (patch)
tree9db5efa36189b6cd2983b1bd103166b11a527144 /src/mongo/embedded
parent5ff59681de1f16392dd38658598996861b09d44e (diff)
downloadmongo-1c2ae5a2203000534aae7f3fb5b6317b60a35d02.tar.gz
SERVER-55963 Use "denylist" in replication subsystems
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.cpp4
-rw-r--r--src/mongo/embedded/replication_coordinator_embedded.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/embedded/replication_coordinator_embedded.cpp b/src/mongo/embedded/replication_coordinator_embedded.cpp
index 528746ec76b..6b2cda5a2cc 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.cpp
+++ b/src/mongo/embedded/replication_coordinator_embedded.cpp
@@ -178,7 +178,7 @@ Seconds ReplicationCoordinatorEmbedded::getSecondaryDelaySecs() const {
UASSERT_NOT_IMPLEMENTED;
}
-void ReplicationCoordinatorEmbedded::clearSyncSourceBlacklist() {
+void ReplicationCoordinatorEmbedded::clearSyncSourceDenylist() {
UASSERT_NOT_IMPLEMENTED;
}
@@ -417,7 +417,7 @@ HostAndPort ReplicationCoordinatorEmbedded::chooseNewSyncSource(const OpTime&) {
UASSERT_NOT_IMPLEMENTED;
}
-void ReplicationCoordinatorEmbedded::blacklistSyncSource(const HostAndPort&, Date_t) {
+void ReplicationCoordinatorEmbedded::denylistSyncSource(const HostAndPort&, Date_t) {
UASSERT_NOT_IMPLEMENTED;
}
diff --git a/src/mongo/embedded/replication_coordinator_embedded.h b/src/mongo/embedded/replication_coordinator_embedded.h
index a5b2bdfa3e2..6afaa81f920 100644
--- a/src/mongo/embedded/replication_coordinator_embedded.h
+++ b/src/mongo/embedded/replication_coordinator_embedded.h
@@ -109,7 +109,7 @@ public:
Seconds getSecondaryDelaySecs() const override;
- void clearSyncSourceBlacklist() override;
+ void clearSyncSourceDenylist() override;
repl::ReplicationCoordinator::StatusAndDuration awaitReplication(
OperationContext*, const repl::OpTime&, const WriteConcernOptions&) override;
@@ -221,7 +221,7 @@ public:
HostAndPort chooseNewSyncSource(const repl::OpTime&) override;
- void blacklistSyncSource(const HostAndPort&, Date_t) override;
+ void denylistSyncSource(const HostAndPort&, Date_t) override;
void resetLastOpTimesFromOplog(OperationContext*) override;