Database that replicates based on scuttlebutt logs and causal linking