Ubuntu Manpages

Deprecated since version MongoDB: Server 8.0

Hedged reads are deprecated in MongoDB version 8.0 and will be removed in a future release.

  • read_prefs: A mongoc_read_prefs_t <>.

Fetches any read preference hedge document that has been registered.

Returns a bson_t <https://www.mongoc.org/libbson/current/bson_t.html> that should not be modified or freed.

MongoDB, Inc

2009-present, MongoDB, Inc.