You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using mongodb with replica set and readPrefence often set to "secondary". Thus, a mechanism is needed to set transaction level readPrefence for multi-document transaction which involves reads.
Describe the solution you'd like .begin and .transactional should accept option for setting readPreference.
Describe alternatives you've considered
If UnitOfWork can detect such transactions - it can set readPreference automatically w/o any manual access to it (not changing .begin and .transaction signatures)
The text was updated successfully, but these errors were encountered:
When using mongodb with replica set and readPrefence often set to "secondary". Thus, a mechanism is needed to set transaction level readPrefence for multi-document transaction which involves reads.
Describe the solution you'd like
.begin
and.transactional
should accept option for settingreadPreference
.Describe alternatives you've considered
If UnitOfWork can detect such transactions - it can set readPreference automatically w/o any manual access to it (not changing .begin and .transaction signatures)
The text was updated successfully, but these errors were encountered: