Mongo.retryable_reads
You're seeing just the function
retryable_reads
, go back to Mongo module for more information.
In case of retryable reads are enabled, the keyword :read_counter
is added with the value of 1.
In other cases like
:retryable_reads
is false or nil:session
is nil:read_counter
is nil
the opts
is unchanged
Example
iex> Mongo.retryable_reads([retryable_reads: true]) [retryable_reads: true, read_counter: 1]