michaelklishin/monger

Support for mongo 4.0 transactions

slipset opened this issue · 3 comments

As written in https://www.mongodb.com/transactions/, mongodb will get support for transactions.
Any plans on updating monger to support this?

mjrb commented

right now monger seems to be using the 3.6-beta2 version of the java mongodb driver. the latest version is 3.8.2 (oddly driver versions seem to differ slightly from server versions since the latest java driver is not 4.0). the biggest hurtle to get there is probably to upgrade the driver to latest or upgrade to the version when transactions first appeared.

I'm down to help add transactions support in monger.

mjrb commented

see #175 there is a workaround to get 3.8.x stuff which probably has transactions

After some investigation, I found that transaction is supported by MongoCollection under the com.mongodb.client package.

Hi @michaelklishin , Is there a plan to support this? Shall we also need a client directory? Or a new module?