-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Fully Compatible
-
Repl 2023-07-24, Repl 2023-08-07, Repl 2023-08-21
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
NamespaceString::isReplicated, ReplicationCoordinator::canAcceptWritesFor(), and ReplicationCoordinator::canAcceptWritesFor_UNSAFE() all have overlapping logic to check if a collection is replicated. It is error-prone to have this logic in multiple places in ways that could diverge accidentally.