monger icon indicating copy to clipboard operation
monger copied to clipboard

Support for mongo 4.0 transactions

Open slipset opened this issue 7 years ago • 3 comments

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

slipset avatar Apr 23 '18 15:04 slipset

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 avatar Oct 25 '18 19:10 mjrb

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

mjrb avatar Oct 25 '18 19:10 mjrb

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?

olOwOlo avatar Jan 05 '19 17:01 olOwOlo