Transactions that across a collection
I want a transaction of the document that has been saved in multiple collections.
Such as global transaction.
It does not matter even if there is a limit to the consistency of this model.
Azure Cosmos DB doesn’t provide this capability natively. We’ve created a sample that shows how you can implement transactions across collections using a two-phase commit-like approach. Please see:
The link is dead...
Alexander Arvei Yngling commented
Google AppEngine Datastore supports cross-entity-group transactions for up to 25 entity groups (cf. https://cloud.google.com/appengine/docs/standard/java/datastore/transactions ), and is a feature I have used heavily, but never with more than 5 groups, and usually only 2.
Being able to do a cross-partition transaction with only 2 partitions would be extremely useful for me, 5 would be even better.