File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,16 @@ using non-:readmode:`primary` read preference modes:
621621 direct connection to a :ref:`hidden member
622622 <replica-set-hidden-members>` of the set.
623623
624+ .. warning::
625+
626+ Although it is tempting to use :readmode:`secondaryPreferred` to distribute
627+ load, if your primary cannot accept your full read load, then
628+ using :readmode:`secondaryPreferred` is dangerous: if all secondaries
629+ become unavailable, but you have enough arbiters to prevent the primary from
630+ stepping down, then this mode will redirect traffic to the primary. For this
631+ reason, use :readmode:`secondary` to distribute load,
632+ not :readmode:`secondaryPreferred`.
633+
624634- Providing local reads for geographically distributed applications.
625635
626636 If you have application servers in multiple data centers, you may
You can’t perform that action at this time.
0 commit comments