-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
-
Fully Compatible
-
Repl 2020-06-29, Repl 2023-07-24
ReplSettings::usingReplsets(), ReplicationCoordinator::isReplEnabled(), and ReplicationCoordinator::getReplicationMode() all return the same info and so it is confusing to have separate methods and engineers are not sure which to use.
This ticket removes ReplicationCoordinator::isReplEnabled() and ReplicationCoordinator::getReplicationMode(), renames ReplSettings::usingReplSets() to isReplSet(), and replaces all usages of the first two methods with isReplSet().
- is related to
-
SERVER-35020 Remove references to oplog.$main
- Backlog
-
SERVER-79067 Standardize on interface for obtaining repl settings
- Open
- related to
-
SERVER-34107 Remove master-slave server status and isMaster code
- Closed