8장. Multi-document Transaction
여러 document/collection/shard 원자성이 필요하면 transaction을 쓸 수 있다. 하지만 distributed transaction 비용이 schema 설계를 대신하지 않는다. 짧은 transaction, retryable labels, unknown commit result를 처리한다.
외부 API를 transaction 안에 두지 않는다. session을 요청 간 공유하지 않는다.