We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7d19c commit 10f511fCopy full SHA for 10f511f
source/applications/replication.txt
@@ -639,6 +639,13 @@ using non-:readmode:`primary` read preference modes:
639
read preference or the :readmode:`nearest` to avoid network
640
latency.
641
642
+- Maintaining availability during a failover.
643
+
644
+ Use :readmode:`primaryPreferred` if you want your application to do
645
+ consistent reads from the primary under normal circumstances, but to allow
646
+ stale reads from secondaries in an emergency. This provides a "read-only mode"
647
+ for your application during a failover.
648
649
Using read modes other than :readmode:`primary` and
650
:readmode:`primaryPreferred` to provide extra capacity is not in and
651
of itself justification for non-:readmode:`primary` in many
0 commit comments