MongoDB request DSL • opensavvy.ktmongo.dsl.options • ReadPreference • Secondary
Secondary¶
The query is sent only to secondary members of the replica set.
If no secondaries are available, the query throws an exception.
Read operations using this preference may return stale data.