-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Replication
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
To determine if the current mongod process is the primary or a secondary, theĀ isStandaloneOrPrimary function is typically defined and usedĀ despite the presence of similar functions (see TTL monitor).
Evaluate which function is correct to use and align existing code based on the outcome of that evaluation.
- related to
-
SERVER-78694 Change `isStandaloneOrPrimary` checks to use `writesAreReplicated`
-
- Open
-