Out of curiosity, I’ve been reading about formal approaches to data syncing. The big players I found out about are Operational Transforms and Conflict-free Resolution Data Types.
Does Sync Gateway use either of these as its underlying theory? Or is there something else?