News for hackers. Stuff that matters.
Re:MongoDB gets support for multi-document ACID transactions by alyson-cabral on Thursday February 15, 2018 @10:58AM (#16385002)
I'm the Product Manager on the Core Server responsible for the multi-document transactions project. For those of you interested in learning more about how we're building transactions in MongoDB, I suggest checking out this video that discusses creating WiredTiger timestamps to enforce correctness in operation ordering across the storage layer. The description is presented by Dr. Michael Cahill, the co-founder of the WiredTiger storage engine aquired by MongoDB. https://www.mongodb.com/presentations/wiredtiger-timestamps-...
Re:MongoDB gets support for multi-document ACID transactions by jbellis on Friday February 16, 2018 @03:26PM (#16395781)
Hi Alyson,

Thanks for the link! It looks like the video covers using timestamps to implement replicated mvcc correctly from primary to other replicas.

The interesting next step is how you go from there to multi-document across different primaries. Or is this limited to documents in a single shard?

Re:MongoDB gets support for multi-document ACID transactions by alyson-cabral on Thursday March 01, 2018 @01:14PM (#16494546)
In 4.0, transactions will just be across replica-sets. The following release will have transactions across the entire sharded cluster (across multiple primaries).