summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set_config.h
diff options
context:
space:
mode:
authorHuayu Ouyang <huayu.ouyang@mongodb.com>2021-05-13 19:00:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-13 19:52:18 +0000
commite009f6a207358b8f6b4f1fa97fc1f52e63f71b40 (patch)
treea858a6366cf439725ba4e2455c4452a3023e4752 /src/mongo/db/repl/repl_set_config.h
parent541015db8073ba776b122223ffd7f402247ad37b (diff)
downloadmongo-e009f6a207358b8f6b4f1fa97fc1f52e63f71b40.tar.gz
Revert "SERVER-56241 Don't allow setting getLastErrorDefaults on startup/reconfig"
This reverts commit f6b96a603dfdc1b763886db2a12ebfd226f5fc8e.
Diffstat (limited to 'src/mongo/db/repl/repl_set_config.h')
-rw-r--r--src/mongo/db/repl/repl_set_config.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/repl/repl_set_config.h b/src/mongo/db/repl/repl_set_config.h
index 57aebd97956..db5608d0b6c 100644
--- a/src/mongo/db/repl/repl_set_config.h
+++ b/src/mongo/db/repl/repl_set_config.h
@@ -536,11 +536,6 @@ public:
return getNumMembers() == 3 && getNumDataBearingMembers() == 2;
}
- /**
- * Returns true if the getLastErrorDefaults has been customized.
- */
- bool containsCustomizedGetLastErrorDefaults() const;
-
private:
/**
* Sets replica set ID to 'defaultReplicaSetId' if 'cfg' does not contain an ID.