summaryrefslogtreecommitdiff
path: root/src/mongo/db/read_concern.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2018-03-13 15:26:04 -0400
committerAndy Schwerin <schwerin@mongodb.com>2018-03-15 17:36:38 -0400
commita65df88a0d7ea660e5d87aa667c77c4d4a999bca (patch)
tree9f1e27cee480206243fddee60b0ce5797778aa10 /src/mongo/db/read_concern.cpp
parente1418190f72787f9a21d5251ad6290076dbc4ae9 (diff)
downloadmongo-a65df88a0d7ea660e5d87aa667c77c4d4a999bca.tar.gz
SERVER-31802 Rip out more dead master-slave code, and the related concept of RID.
Diffstat (limited to 'src/mongo/db/read_concern.cpp')
-rw-r--r--src/mongo/db/read_concern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/read_concern.cpp b/src/mongo/db/read_concern.cpp
index 132680d37d1..b5af878c5b8 100644
--- a/src/mongo/db/read_concern.cpp
+++ b/src/mongo/db/read_concern.cpp
@@ -212,7 +212,7 @@ Status waitForReadConcern(OperationContext* opCtx,
if (readConcernArgs.getLevel() == repl::ReadConcernLevel::kLinearizableReadConcern) {
if (replCoord->getReplicationMode() != repl::ReplicationCoordinator::modeReplSet) {
- // For master/slave and standalone nodes, Linearizable Read is not supported.
+ // For standalone nodes, Linearizable Read is not supported.
return {ErrorCodes::NotAReplicaSet,
"node needs to be a replica set member to use read concern"};
}