mongo-extensions icon indicating copy to clipboard operation
mongo-extensions copied to clipboard

Session / Transaction read and write concern configuration

Open rcollina opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Hello, thank you for open sourcing your Transactions extensions. This is a feature request.

Describe the solution you'd like At the moment, and as far as I can tell, there is now way to configure ClientSessionOptions or TransactionOptions.

https://github.com/SwissLife-OSS/mongo-extensions/blob/d74927556d305cc5322a7a641237a90c306cabda/src/Transactions/TransactionStore.cs#L41

Use case: https://www.mongodb.com/docs/v6.0/core/transactions/#read-concern-write-concern-read-preference

Describe alternatives you've considered None.

Additional context None.

rcollina avatar Mar 27 '23 13:03 rcollina