Any update on XA support?

Hi, does mongo support distributed transactions? We are trying to implement transaction management across different data stores that may include an RDBMS and MongoDb but I could not find any Mongodb class implementation using XADataSource.

Hi,

MongoDB supports multi-document ACID transactions within a single replica set (4.0+) or sharded cluster (4.2+).

XA transactions are not a current feature, but you could raise this suggestion on the MongoDB Feedback site for others to watch & upvote.

Note that XA transactions have different semantics and considerations, as per this blog post from Paul Done (one of our senior Solution Architects): XA Distributed Transactions are only Eventually Consistent.

Regards,
Stennie

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.