Mergeable Containers: Fixing Concurrent Child Creation
Summary
The article explains a data synchronization problem in JSON-like CRDTs when two offline peers concurrently create separate child containers. It introduces Loro's Mergeable Containers to tie a child container’s identity to its logical position in the map, using a deterministic CID and a map-slot activation marker. It covers API changes (ensureMergeable*), encoding details, practical use cases, and compatibility considerations.