I’m glad to announce experimental support for multi-document transactions in the mgo driver that integrates MongoDB with the Go language. The support is done via a driver extension, so it works with any MongoDB release supported by the driver (>= 1.8).
Here is a quick highlight list to get your brain ticking before the details:
- Supports sharding
- Operations may span multiple collections
- Handles changes, inserts and removes
- Supports pre-conditions
- No additional locks or leases
- Works with existing data
Let’s see what these actually mean and how the goodness is done.